start-ws.sh 327 B

1234567891011
  1. #!/bin/bash
  2. # Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
  3. # Copyright: (c) <spug.dev@gmail.com>
  4. # Released under the AGPL-3.0 License.
  5. # start websocket service
  6. cd $(dirname $(dirname $0))
  7. if [ -f ./venv/bin/activate ]; then
  8. source ./venv/bin/activate
  9. fi
  10. exec daphne -p 9002 spug.asgi:application