Some PYTHONPATH temporary fixes

This commit is contained in:
Maxim Kulkin 2013-10-22 20:26:40 +04:00
parent 12e6ad74e0
commit 44250e813f
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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