Add support for honcho as alternative to tmux for running development servers.

This commit is contained in:
Chris Church 2015-08-04 15:26:27 -04:00
parent 7e45ee8b55
commit 71c2fd7f8d
3 changed files with 13 additions and 0 deletions

2
.env Normal file
View File

@ -0,0 +1,2 @@
PYTHONUNBUFFERED=true

View File

@ -241,6 +241,11 @@ server: server_noattach
servercc: server_noattach
tmux -2 -CC attach-session -t tower
# Alternate approach to tmux to run all development tasks specified in
# Procfile. https://youtu.be/OPMgaibszjk
honcho:
honcho start
# Run the built-in development webserver (by default on http://localhost:8013).
runserver:
$(PYTHON) manage.py runserver

6
Procfile Normal file
View File

@ -0,0 +1,6 @@
runserver: make runserver
celeryd: make celeryd
taskmanager: make taskmanager
receiver: make receiver
socketservice: make socketservice
factcacher: make factcacher