From dea8a0bb1ccf661d7d30be0d58934e1f6360b7c2 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Thu, 21 Oct 2021 15:02:59 +0200 Subject: [PATCH] Update django-launcher.pro.sh --- django-launcher.pro.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/django-launcher.pro.sh b/django-launcher.pro.sh index 2623dff..2d9fd37 100644 --- a/django-launcher.pro.sh +++ b/django-launcher.pro.sh @@ -11,4 +11,7 @@ python3 manage.py migrate # Start 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