diff --git a/create.sh b/create.sh index 5e3b873..09b1dc8 100644 --- a/create.sh +++ b/create.sh @@ -17,7 +17,7 @@ export DJANGO_SETTINGS_MODULE=project.settings.prod git clone $sshURL . -./scripts/setUp.sh +./scripts/setup.sh cp /var/www/local_settings.py project/settings/local_settings.py echo "BRANCH = '$name'" >> project/settings/local_settings.py @@ -31,7 +31,7 @@ git checkout prod git checkout $name -./scripts/setUp.sh +./scripts/setup.sh # python3 manage.py collectstatic --noinput ./manage.py migrate diff --git a/update.sh b/update.sh index 432da49..d88d916 100644 --- a/update.sh +++ b/update.sh @@ -13,7 +13,7 @@ cd /var/www/gitwrapper/$name git stash git pull --force origin $name -./scripts/setUp.sh +./scripts/setup.sh python3 manage.py collectstatic --noinput python3 manage.py migrate