From 425632146253220831b0ad943beae9eff9d03bb2 Mon Sep 17 00:00:00 2001 From: William Mantly Date: Thu, 16 Jun 2016 20:55:30 -0400 Subject: [PATCH] stuff --- routes/create.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/routes/create.sh b/routes/create.sh index 0e5094a..c764105 100644 --- a/routes/create.sh +++ b/routes/create.sh @@ -13,12 +13,14 @@ DJANGO_SETTINGS_MODULE=project.settings.prod export DJANGO_SETTINGS_MODULE=project.settings.prod git clone $sshURL . +virtualenv env +source env/bin/activate +pip install -r requirements.txt + python3 manage.py migrate python3 manage.py loaddata "/var/www/django.dump" git checkout $name -virtualenv env -source env/bin/activate pip install -r requirements.txt cp /var/www/local_settings.py project/settings/local_settings.py