Commit f7eae603 authored by Zack Wong's avatar Zack Wong
Browse files

Merge branch 'master' of gitlab.ucc.asn.au:frekk/uccportal

parents 89955efc 68ec132a
...@@ -32,6 +32,7 @@ deploy_testing: ...@@ -32,6 +32,7 @@ deploy_testing:
- rm -f /etc/uwsgi/vassals/$CI_COMMIT_REF_NAME.ini - rm -f /etc/uwsgi/vassals/$CI_COMMIT_REF_NAME.ini
- mkdir .db - mkdir .db
- envsubst < src/gms/settings_local.example.py > src/gms/settings_local.py - envsubst < src/gms/settings_local.example.py > src/gms/settings_local.py
- chmod 600 src/gms/settings_local.py
- ln -srT ./ /var/www/test/$CI_COMMIT_REF_NAME - ln -srT ./ /var/www/test/$CI_COMMIT_REF_NAME
- python src/manage.py collectstatic - python src/manage.py collectstatic
- python src/manage.py makemigrations - python src/manage.py makemigrations
...@@ -57,6 +58,7 @@ deploy_staging: ...@@ -57,6 +58,7 @@ deploy_staging:
- rm -f /etc/uwsgi/vassals/stage.ini - rm -f /etc/uwsgi/vassals/stage.ini
- ln -srT ./ /services/$CI_PROJECT_NAME - ln -srT ./ /services/$CI_PROJECT_NAME
- envsubst < src/gms/settings_local.example.py > src/gms/settings_local.py - envsubst < src/gms/settings_local.example.py > src/gms/settings_local.py
- chmod 600 src/gms/settings_local.py
- python src/manage.py collectstatic - python src/manage.py collectstatic
- python src/manage.py makemigrations - python src/manage.py makemigrations
- python src/manage.py migrate --run-syncdb - python src/manage.py migrate --run-syncdb
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment