spug/spug_api/tools/start-ws.sh
2020-01-08 00:25:18 +08:00

5 lines
134 B
Bash

#!/bin/bash
# start websocket service
cd $(dirname $(dirname $0))
source ./venv/bin/activate
exec daphne -p 9002 spug.asgi:application