Update django-launcher.pro.sh

This commit is contained in:
Andros Fenollosa 2021-10-21 15:02:59 +02:00 committed by GitHub
parent f4c3202e32
commit dea8a0bb1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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