Add Honcho (foreman alternative in Python) file(s).

The reason we have both Procfile and Honchofile is to be able to run both the workers and the web server in a single dyno on Heroku.
This commit is contained in:
Arik Fraimovich 2014-02-12 20:42:32 +02:00
parent 910ea4caec
commit 8fa45749a9
3 changed files with 4 additions and 0 deletions

2
Honchofile Normal file
View File

@ -0,0 +1,2 @@
web: ./manage.py runserver -p $PORT
worker: ./manage.py runworkers

1
Procfile Normal file
View File

@ -0,0 +1 @@
web: honcho start -f Honchofile -p $PORT

View File

@ -23,3 +23,4 @@ sqlparse==0.1.8
wsgiref==0.1.2
wtf-peewee==0.2.2
Flask-Script==0.6.6
honcho==0.5.0