Fixes on deploy.sh

This commit is contained in:
Marc Aymerich 2015-05-05 20:38:53 +00:00
parent 23752719d6
commit 423c6e9991
1 changed files with 3 additions and 2 deletions

View File

@ -54,10 +54,11 @@ if [[ ! $CURRENT_VERSION ]]; then
} }
PYTHON_PATH=$($PYTHON_BIN -c "import sys; print([path for path in sys.path if path.startswith('/usr/local/lib/python')][0]);") PYTHON_PATH=$($PYTHON_BIN -c "import sys; print([path for path in sys.path if path.startswith('/usr/local/lib/python')][0]);")
echo $HOME/django-orchestra/ | sudo tee "$PYTHON_PATH/orchestra.pth" echo $HOME/django-orchestra/ | sudo tee "$PYTHON_PATH/orchestra.pth"
run "cp $HOME/django-orchestra/orchestra/bin/orchestra-admin /usr/local/bin/"
run "cp $HOME/django-orchestra/orchestra/bin/orchestra-beat /usr/local/bin/"
fi fi
run "cp $HOME/django-orchestra/orchestra/bin/orchestra-admin /usr/local/bin/"
run "cp $HOME/django-orchestra/orchestra/bin/orchestra-beat /usr/local/bin/"
sudo orchestra-admin install_requirements --testing sudo orchestra-admin install_requirements --testing
if [[ ! -e $BASE_DIR ]]; then if [[ ! -e $BASE_DIR ]]; then