2017-05-07 16:37:26 +10:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
/usr/local/bin/python /app/symposion_app/manage.py migrate
|
2018-06-09 11:16:48 +10:00
|
|
|
/usr/local/bin/python /app/symposion_app/manage.py loaddata /app/symposion_app/fixtures/{conference,proposal_base,sites,sitetree,flatpages}.json
|
2018-04-19 07:41:51 +10:00
|
|
|
/usr/local/bin/python /app/symposion_app/manage.py create_review_permissions
|
2018-04-19 07:36:44 +10:00
|
|
|
#/usr/local/bin/python /app/symposion_app/manage.py populate_inventory
|
2017-08-16 14:31:24 +10:00
|
|
|
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
|
|
|
|
fi
|
2017-08-07 11:47:41 +10:00
|
|
|
|
|
|
|
exec /usr/local/bin/uwsgi --http-socket 0.0.0.0:8000 --wsgi-file pinaxcon/wsgi.py
|