symposion_app/docker/deploy_with_sqlite.sh
Sachi King c32dbb2a07 Build an ephemeral dev container for rego testing
Create a ephemeral dev container to facilitate testing of
populate_inventory.  It can be created, tweeked in the admin interface,
files updated in admin's populate_inventory, then redeployed to deal
with those changes.

A branch based one will need to be created to so we can do this work
without polluting the master branch.
2017-08-07 11:50:03 +10:00

7 lines
457 B
Bash
Executable file

#!/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.json /app/symposion_app/fixtures/proposal_base.json /app/symposion_app/fixtures/sites.json /app/symposion_app/fixtures/sitetree.json
/usr/local/bin/python /app/symposion_app/manage.py populate_inventory
exec /usr/local/bin/uwsgi --http-socket 0.0.0.0:8000 --wsgi-file pinaxcon/wsgi.py