summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2014-06-28 14:10:06 +0300
committerYuval Adam <yuv.adm@gmail.com>2014-06-28 14:10:06 +0300
commit998800c13fffefdb4525b4e75a8feac0c97a24d0 (patch)
tree28e263f61d41bfbaee0bef44593f1fdf61d98d0d
parenteec59195098a2ee0a4b0a96f48f0978fa7603bd0 (diff)
Run on gunicorn in production
-rw-r--r--Procfile2
-rw-r--r--requirements.txt1
2 files changed, 2 insertions, 1 deletions
diff --git a/Procfile b/Procfile
index 2e35818..ca6e941 100644
--- a/Procfile
+++ b/Procfile
@@ -1 +1 @@
-web: python app.py
+web: gunicorn app:app
diff --git a/requirements.txt b/requirements.txt
index 448d99f..0c191a0 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,6 +4,7 @@ Jinja2==2.7.3
MarkupSafe==0.23
SQLAlchemy==0.9.6
Werkzeug==0.9.6
+gunicorn==19.0.0
itsdangerous==0.24
psycopg2==2.5.3
wsgiref==0.1.2