Update dev instance deploy script

- We have a flatpages fixture to add in
- Need to let the script exist in the docker context so it can be run
This commit is contained in:
James Polley 2018-06-09 11:16:48 +10:00
parent 837ecc33b5
commit 5431497328
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
.git
symposion-tools
docker
docker/Dockerfile.*
docker/*env
static/build
*.sh
TODO

View file

@ -1,7 +1,7 @@
#!/bin/bash
/usr/local/bin/python /app/symposion_app/manage.py migrate
/usr/local/bin/python /app/symposion_app/manage.py loaddata /app/symposion_app/fixtures/{conference,proposal_base,sites,sitetree}.json
/usr/local/bin/python /app/symposion_app/manage.py loaddata /app/symposion_app/fixtures/{conference,proposal_base,sites,sitetree,flatpages}.json
/usr/local/bin/python /app/symposion_app/manage.py create_review_permissions
#/usr/local/bin/python /app/symposion_app/manage.py populate_inventory
if [ $DATABASE_URL == "sqlite:////tmp/symposion.sqlite" ]; then