From 3fb8e9a66773ca4fb7844ff95ffca5a2faddb3b9 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Wed, 25 Dec 2013 18:39:41 +0200 Subject: Use gunicorn on production --- Procfile | 1 + newsdiff/settings/base.py | 1 + requirements.txt | 1 + 3 files changed, 3 insertions(+) create mode 100644 Procfile diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..12538f8 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: python manage.py run_gunicorn -b 0.0.0.0:$PORT diff --git a/newsdiff/settings/base.py b/newsdiff/settings/base.py index 35c4b47..234cf69 100644 --- a/newsdiff/settings/base.py +++ b/newsdiff/settings/base.py @@ -80,6 +80,7 @@ INSTALLED_APPS = ( 'django.contrib.staticfiles', 'django.contrib.admin', + 'gunicorn', 'south', 'storages', 'celery', diff --git a/requirements.txt b/requirements.txt index ff3e555..c9a742f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,6 +10,7 @@ celery==3.1.6 django-nose==1.2 django-reversion==1.8.0 django-storages==1.1.8 +gunicorn==18.0 honcho==0.5.0 kombu==3.0.7 lxml==3.2.4 -- cgit v1.3.1