File indexing completed on 2026-04-25 08:29:11
0001
0002
0003
0004
0005
0006
0007 if [ -z "${BASH_VERSION:-}" ]; then
0008 echo "This script must be run with bash. Try: bash $0 \"$@\"" >&2
0009 exit 1
0010 fi
0011
0012
0013 echo "Starting Django with Daphne for WebSocket support..."
0014
0015
0016 cd /eic/u/wenauseic/github/swf-monitor/src
0017
0018
0019 source /eic/u/wenauseic/github/swf-testbed/.venv/bin/activate
0020
0021
0022 echo "Stopping existing Django server..."
0023 pkill -f "manage.py runserver"
0024 sleep 2
0025
0026
0027 echo "Starting Daphne ASGI server on port 8002..."
0028 daphne -p 8002 -b 0.0.0.0 swf_monitor_project.asgi:application