add supervisor option to development environment

This commit is contained in:
AlanCoding
2017-02-12 16:13:15 -05:00
parent 3f0c42c1f6
commit d1a71fb7be
5 changed files with 88 additions and 1 deletions

View File

@@ -378,6 +378,12 @@ server: server_noattach
servercc: server_noattach
tmux -2 -CC attach-session -t tower
supervisor:
@if [ "$(VENV_BASE)" ]; then \
. $(VENV_BASE)/tower/bin/activate; \
fi; \
supervisord --configuration /supervisor.conf --pidfile=/tmp/supervisor_pid
# Alternate approach to tmux to run all development tasks specified in
# Procfile. https://youtu.be/OPMgaibszjk
honcho: