Fixes on deploy.sh

This commit is contained in:
Marc Aymerich 2015-05-05 20:22:01 +00:00
parent e71329013a
commit 44d2c46120
2 changed files with 6 additions and 3 deletions

View File

@ -11,7 +11,7 @@ kombu==3.0.23
billiard==3.3.0.18 billiard==3.3.0.18
Markdown==2.4 Markdown==2.4
djangorestframework==3.1.1 djangorestframework==3.1.1
paramiko==1.15.1 paramiko==1.15.2
ecdsa==0.11 ecdsa==0.11
Pygments==1.6 Pygments==1.6
django-filter==0.7 django-filter==0.7
@ -23,3 +23,6 @@ requests
phonenumbers phonenumbers
django-countries django-countries
django-localflavor django-localflavor
amqp
anyjson
pytz

View File

@ -64,8 +64,8 @@ if [[ ! -e $BASE_DIR ]]; then
surun "orchestra-admin startproject $PROJECT_NAME" surun "orchestra-admin startproject $PROJECT_NAME"
cd - cd -
else else
echo "$BASE_DIT already existis, doing postupgrade." echo "$BASE_DIR already existis, doing postupgrade."
$PYTHON_BIN $MANAGE migrate postupgradeorchestra --from $CURRENT_VERSION $PYTHON_BIN $MANAGE postupgradeorchestra --from $CURRENT_VERSION
fi fi