From 9bc81103bcba2f34448cbf1fdc6ef2f05cdb44e0 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Tue, 28 Nov 2017 14:04:18 +1100 Subject: [PATCH] Use gunicorn for Heroku --- Procfile | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Procfile b/Procfile index 8193e0d..c3c1777 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: python -m flask run --host 0.0.0.0 --port $PORT +web: gunicorn -b 0.0.0.0:$PORT eosweb:app diff --git a/requirements.txt b/requirements.txt index 6810fe8..27ef854 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ click==6.7 coverage==4.4.1 Flask==0.12.2 Flask-OAuthlib==0.9.4 +gunicorn==19.7.1 idna==2.6 itsdangerous==0.24 Jinja2==2.10