Skip to content

Commit 8e8fa6f

Browse files
committed
Add gunicorn to test in heroku
1 parent b4a1431 commit 8e8fa6f

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ verify_ssl = true
88
[packages]
99
flask = "*"
1010
nltk = "*"
11+
gunicorn = "*"
1112

1213
[requires]
1314
python_version = "3.7"

Pipfile.lock

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: python app.py
1+
web: gunicorn -b :$PORT app:app

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ attrs==19.1.0
33
black==19.3b0
44
Click==7.0
55
Flask==1.1.1
6+
gunicorn==19.9.0
67
itsdangerous==1.1.0
78
Jinja2==2.10.1
89
MarkupSafe==1.1.1

0 commit comments

Comments
 (0)