Create review permissions on dev image build

This commit is contained in:
James Polley 2018-04-19 07:41:51 +10:00
parent 9d60934153
commit b366c7809e
No known key found for this signature in database
GPG key ID: ED9F8A8538E21957

View file

@ -2,6 +2,7 @@
/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 create_review_permissions
#/usr/local/bin/python /app/symposion_app/manage.py populate_inventory
if [ $DATABASE_URL == "sqlite:////tmp/symposion.sqlite" ]; then
/usr/local/bin/python /app/symposion_app/manage.py loaddata /app/symposion_app/fixtures/admin_users.json