From fb9679e557dffea7b571f5d57c61d4395dee0130 Mon Sep 17 00:00:00 2001 From: Marc Date: Sat, 4 Oct 2014 13:31:11 +0000 Subject: [PATCH] deploy.sh: make sure git is installed --- scripts/container/deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/container/deploy.sh b/scripts/container/deploy.sh index 7c17683c..61035b0e 100755 --- a/scripts/container/deploy.sh +++ b/scripts/container/deploy.sh @@ -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"