Some PYTHONPATH temporary fixes
This commit is contained in:
parent
12e6ad74e0
commit
44250e813f
@ -1,2 +1,2 @@
|
|||||||
webui: gunicorn --error-logfile - --log-level info rubick.webui:app --bind 0.0.0.0:8000
|
webui: PYTHONPATH=joker: gunicorn --error-logfile - --log-level info rubick.webui:app --bind 0.0.0.0:8000
|
||||||
worker: celery worker --app=rubick.celery:app
|
worker: PYTHONPATH=joker: celery worker --app=rubick.celery:app
|
||||||
|
@ -11,8 +11,8 @@ end
|
|||||||
|
|
||||||
bash 'Run application' do
|
bash 'Run application' do
|
||||||
code <<-EOS
|
code <<-EOS
|
||||||
echo "webui: python webui.py" > ProcfileHonchoLocal
|
echo "webui: PYTHONPATH=joker: python webui.py" > ProcfileHonchoLocal
|
||||||
echo "worker: celery worker --app=rubick.celery:app" >> ProcfileHonchoLocal
|
echo "worker: PYTHONPATH=joker: celery worker --app=rubick.celery:app" >> ProcfileHonchoLocal
|
||||||
if ! tmux has-session -t dev; then
|
if ! tmux has-session -t dev; then
|
||||||
tmux new-session -d -s dev "honcho -f ProcfileHonchoLocal start"
|
tmux new-session -d -s dev "honcho -f ProcfileHonchoLocal start"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user