stuff
This commit is contained in:
parent
b48e243cc6
commit
4256321462
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user