deploy.sh: make sure git is installed

This commit is contained in:
Marc 2014-10-04 13:31:11 +00:00
parent e805ed741f
commit fb9679e557
1 changed files with 2 additions and 1 deletions

View File

@ -44,9 +44,10 @@ if [[ ! $CURRENT_VERSION ]]; then
run "git clone https://github.com/glic3rinu/django-orchestra.git ~/django-orchestra"
echo $HOME/django-orchestra/ | sudo tee /usr/local/lib/python2.7/dist-packages/orchestra.pth
sudo cp $HOME/django-orchestra/orchestra/bin/orchestra-admin /usr/local/bin/
sudo orchestra-admin install_requirements
fi
sudo orchestra-admin install_requirements
if [[ ! -e $BASE_DIR ]]; then
cd $HOME
run "orchestra-admin startproject $PROJECT_NAME"