Skip to content

Commit 293b446

Browse files
author
Ilias Trichopoulos
committed
Update requirements and Procfile
Fix #14
1 parent bd889ed commit 293b446

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

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 app:app --log-file=-

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Deploying to Heroku
133133
6. Create a Procfile. Open up a text editor and save the following text in it:
134134

135135
```
136-
web: python run.py
136+
web: gunicorn app:app --log-file=-
137137
```
138138

139139
Then save the file in your applications root or main directory as *Procfile* (no extension). The word "web" indicates to Heroku that the application will be attached to the HTTP routing stack once deployed.

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
Fabric==1.8.2
22
Flask==0.10.1
33
Flask-SQLAlchemy==1.0
4+
Flask-WTF==0.9.4
45
Jinja2==2.7.2
56
MarkupSafe==0.18
67
SQLAlchemy==0.9.3
8+
WTForms==1.0.5
79
Werkzeug==0.9.4
810
coverage==3.7.1
911
ecdsa==0.10
12+
gunicorn==19.3.0
1013
itsdangerous==0.23
1114
paramiko==1.12.2
1215
pycrypto==2.6.1
1316
wsgiref==0.1.2
14-
Flask-WTF==0.9.4

0 commit comments

Comments
 (0)