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"