Use gunicorn instead of Werkzeug and 32 more very minor changes (#35)

This commit is contained in:
Mungai Geoffrey
2022-04-21 03:29:42 +03:00
committed by GitHub
parent 68b474bbba
commit ef68cae625
33 changed files with 751 additions and 227 deletions
+4 -5
View File
@@ -1,9 +1,8 @@
# ppath=$(poetry run which python)
ppath=$(poetry run which python)
$ppath manage.py
# $ppath manage.py
#python manage.py
gpath=$(poetry run which gunicorn)
# gunicorn -b 0.0.0.0:9876 --workers=4 "wsgi:create_app()" --log-level=debug
"$gpath" -b 0.0.0.0:9876 -w 1 --threads=4 "manage:create_app()" #--log-level=debug