deploy.sh: make sure git is installed

This commit is contained in:
Marc 2014-10-04 17:46:03 +00:00
parent abe54be58b
commit e98bfcfcc9
1 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ normal=$(tput sgr0)
} }
USER='orchestra' USER='orchestra'
PASSWORD="orchestra" PASSWORD='orchestra'
HOME="/home/$USER" HOME="/home/$USER"
PROJECT_NAME='panel' PROJECT_NAME='panel'
BASE_DIR="$HOME/$PROJECT_NAME" BASE_DIR="$HOME/$PROJECT_NAME"
@ -99,9 +99,9 @@ run "python $MANAGE restartservices"
# Create a orchestra user # Create a orchestra user
cat <<- EOF | python $MANAGE shell cat <<- EOF | python $MANAGE shell
from orchestra.apps.accounts.models import Account from orchestra.apps.accounts.models import Account
if not Account.objects.filter(username=$USER).exists(): if not Account.objects.filter(username="$USER").exists():
print 'Creating orchestra superuser' print 'Creating orchestra superuser'
Account.objects.create_superuser($USER, "'$USER@localhost'", $PASSWORD) __ = Account.objects.create_superuser("$USER", "'$USER@localhost'", "$PASSWORD")
EOF EOF