Answer the question
In order to leave comments, you need to log in
How to install gunicorn?
Good evening.
I'm trying to deploy a Flask project on heroku.com.
Made Procfile:
web: gunicorn project:app
Checked, everything is started locally.
foreman check
Recognizes the Procfile as valid.
Made the same requirements.txt. double-checked it has gunicorn.
gunicorn==19.1.1
Next, I push everything to Heroku.
I run:
heroku ps:scale web=1
When checking active, it gives out:
=== web (1X): `gunicorn project:app`
web.1: crashed 2015/03/10 18:17:22 (~ 3s ago)
heroku run pip install gunicorn
Answer the question
In order to leave comments, you need to log in
Locally tested running with gunicorn?
pip install gunicorn
(venv) $ gunicorn manage:app
gunicorn==18.0
psycopg2==2.5.1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question