From de2b47d111fe7a5525d0d649a32a59cac59c2ff5 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 26 Dec 2011 19:35:34 +0000 Subject: [PATCH] use gunicorn --- Procfile | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Procfile b/Procfile index e6cb5ad..b26d119 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: python app.py \ No newline at end of file +web: gunicorn app:app -b "0.0.0.0:$PORT" \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 3983b2d..7190b78 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ Flask==0.8 Pygments==1.4 +gunicorn==0.13.4