Changeset - 543149732890
[Not reviewed]
0 2 0
James Polley - 6 years ago 2018-06-09 01:16:48
jp@jamezpolley.com
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
2 files changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
.dockerignore
Show inline comments
 
.git
 
symposion-tools
 
docker
 
docker/Dockerfile.*
 
docker/*env
 
static/build
 
*.sh
 
TODO
docker/deploy_with_sqlite.sh
Show inline comments
 
#!/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
0 comments (0 inline, 0 general)