deploy.sh: make sure git is installed
This commit is contained in:
parent
e805ed741f
commit
fb9679e557
|
@ -44,9 +44,10 @@ if [[ ! $CURRENT_VERSION ]]; then
|
||||||
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/
|
||||||
sudo orchestra-admin install_requirements
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sudo orchestra-admin install_requirements
|
||||||
|
|
||||||
if [[ ! -e $BASE_DIR ]]; then
|
if [[ ! -e $BASE_DIR ]]; then
|
||||||
cd $HOME
|
cd $HOME
|
||||||
run "orchestra-admin startproject $PROJECT_NAME"
|
run "orchestra-admin startproject $PROJECT_NAME"
|
||||||
|
|
Loading…
Reference in a new issue