From c64612bdbae982a8fd5cdc1600642fdb43571211 Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Tue, 28 Mar 2017 00:32:08 +0200 Subject: [PATCH] gunicorn --- Procfile | 6 +++--- requirements.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Procfile b/Procfile index 4252d2f..e4af295 100644 --- a/Procfile +++ b/Procfile @@ -1,4 +1,4 @@ -web: uwsgi --http :$PORT --module=publichealth.wsgi:application --master --offload-threads 3 -# web: gunicorn publichealth.wsgi -b 0.0.0.0:$PORT -w 3 --log-file=- +# web: uwsgi --http :$PORT --module=publichealth.wsgi:application --master --offload-threads 3 +# web: gunicorn publichealth.wsgi -b 0.0.0.0:$PORT -w 5 --log-file=- +web: python manage.py runserver $PORT init: python manage.py migrate -migrate: python manage.py migrate diff --git a/requirements.txt b/requirements.txt index 23ef033..c48d1f1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,6 +26,6 @@ Pillow==4.0.0 stellar==0.4.3 # Production dependencies -uwsgi==2.0.14 +gunicorn==19.7.1 whitenoise==3.3.0 ConcurrentLogHandler==0.9.1