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,9 +54,10 @@ 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]);")
echo $HOME/django-orchestra/ | sudo tee "$PYTHON_PATH/orchestra.pth"
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/"
fi
sudo orchestra-admin install_requirements --testing