H
H
hardwellZero2015-03-10 19:28:55
Flask
hardwellZero, 2015-03-10 19:28:55

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)

Screenshot of logs and errors:
87cfa8c95cde416d96ccfaa4fa876884.png

I also tried to install gunicorn manually
heroku run pip install gunicorn
Restart and the result is the same.
What am I doing wrong, why is gunicorn not installed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Abiduev, 2015-03-19
@gunlinux

Locally tested running with gunicorn?

pip install gunicorn

(venv) $ gunicorn manage:app

Well
-r requirements/prod.txt
gunicorn==18.0
psycopg2==2.5.1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question