deploy.sh: make sure git is installed

This commit is contained in:
Marc 2014-10-04 13:26:54 +00:00
parent c5abcf6b45
commit 0e00c25525
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ CURRENT_VERSION=$(python -c "from orchestra import get_version; print get_versio
if [[ ! $CURRENT_VERSION ]]; then if [[ ! $CURRENT_VERSION ]]; then
# First Orchestra installation # First Orchestra installation
run "apt-get -y install git python-pip"
run "git clone https://github.com/glic3rinu/django-orchestra.git ~/django-orchestra" 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 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 cp $HOME/django-orchestra/orchestra/bin/orchestra-admin /usr/local/bin/