Skip to content

Commit c8ce654

Browse files
committed
Procfile + wsgi,py to run app on Heroku server
1 parent 9cbab84 commit c8ce654

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: gunicorn wsgi

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ cryptography==1.2.1
44
decorator==4.0.6
55
Flask==0.10.1
66
gspread==0.3.0
7+
gunicorn==19.4.5
78
httplib2==0.9.2
89
idna==2.0
910
ipython==4.0.1

wsgi.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from am_workout_assistant import application
2+
3+
if __name__ == "__main__":
4+
application.run()

0 commit comments

Comments
 (0)