Update django-launcher.pro.sh
This commit is contained in:
parent
f4c3202e32
commit
dea8a0bb1c
@ -11,4 +11,7 @@ python3 manage.py migrate
|
|||||||
|
|
||||||
# Start server
|
# Start server
|
||||||
echo "Starting server"
|
echo "Starting server"
|
||||||
uvicorn --host 0.0.0.0 --port 8000 chapps.asgi:application
|
## With WebSockets
|
||||||
|
uvicorn --workers=4 --host 0.0.0.0 --port 8000 chapps.asgi:application
|
||||||
|
## without WebSockets
|
||||||
|
#gunicorn --workers=4 -b 0.0.0.0:8000 gotrucki.wsgi:application
|
||||||
|
Loading…
Reference in New Issue
Block a user