Use gunicorn for Heroku

This commit is contained in:
RunasSudo 2017-11-28 14:04:18 +11:00
parent 0f7dfae947
commit 9bc81103bc
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
web: python -m flask run --host 0.0.0.0 --port $PORT web: gunicorn -b 0.0.0.0:$PORT eosweb:app

View File

@ -4,6 +4,7 @@ click==6.7
coverage==4.4.1 coverage==4.4.1
Flask==0.12.2 Flask==0.12.2
Flask-OAuthlib==0.9.4 Flask-OAuthlib==0.9.4
gunicorn==19.7.1
idna==2.6 idna==2.6
itsdangerous==0.24 itsdangerous==0.24
Jinja2==2.10 Jinja2==2.10