diff --git a/django-launcher.dev.sh b/django-launcher.dev.sh index ef8946b..a1a9374 100644 --- a/django-launcher.dev.sh +++ b/django-launcher.dev.sh @@ -11,4 +11,4 @@ python3 manage.py migrate # Start server echo "Starting server" -uvicorn --host 0.0.0.0 --port 8000 --reload my_demo.asgi:application +uvicorn --host 0.0.0.0 --port 8000 --reload --debug --ws websockets my_demo.asgi:application diff --git a/requirements.txt b/requirements.txt index 18dfc9a..1b78495 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,7 @@ django # ASGI server uvicorn +websockets # Connect PostgreSQL psycopg2-binary # Channels