Simplified Procfiles
This commit is contained in:
parent
709faccc47
commit
73c4b0c80b
3
Procfile
3
Procfile
@ -1 +1,2 @@
|
||||
web: honcho -f ProcfileHoncho start
|
||||
webui: PYTHONPATH=joker: python webui.py
|
||||
worker: PYTHONPATH=joker: celery worker --app=rubick.celery:app
|
||||
|
@ -11,10 +11,8 @@ end
|
||||
|
||||
bash 'Run application' do
|
||||
code <<-EOS
|
||||
echo "webui: PYTHONPATH=joker: python webui.py" > ProcfileHonchoLocal
|
||||
echo "worker: PYTHONPATH=joker: celery worker --app=rubick.celery:app" >> ProcfileHonchoLocal
|
||||
if ! tmux has-session -t dev; then
|
||||
tmux new-session -d -s dev "honcho -f ProcfileHonchoLocal start"
|
||||
tmux new-session -d -s dev "honcho start"
|
||||
fi
|
||||
EOS
|
||||
user 'vagrant'
|
||||
|
Loading…
x
Reference in New Issue
Block a user