Skip to content

Commit 19f3759

Browse files
author
Sam Redmond
committed
Preparing for Heroku deployment
1 parent ba431c0 commit 19f3759

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

Procfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
web: gunicorn run:app
1+
web: gunicorn runp-heroku:app
2+
init: python db_create.py && python add_subjects.py
3+
upgrade: python db_upgrade.py

requirements.txt

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Flask-SQLAlchemy==0.16
88
Flask-WTF==0.8.4
99
Flask-WhooshAlchemy==0.54a
1010
Jinja2==2.7.1
11+
psycopg2==2.5
1112
MarkupSafe==0.18
1213
SQLAlchemy==0.7.9
1314
Tempita==0.5.1
@@ -17,6 +18,8 @@ Whoosh==2.5.3
1718
blinker==1.3
1819
decorator==3.4.0
1920
flup==1.0.2
21+
gunicorn==18.0
22+
py-bcrypt==0.4
2023
python-openid==2.2.5
2124
pytz==2013b
2225
speaklater==1.3

runp-heroku.py

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!venv/bin/python
2+
from app import app

0 commit comments

Comments
 (0)