2017-05-07 16:37:26 +10:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
/usr/local/bin/python /app/symposion_app/manage.py migrate
|
2018-09-30 08:56:30 +13:00
|
|
|
/usr/local/bin/python /app/symposion_app/manage.py loaddata /app/symposion_app/fixtures/{conference,proposal_base,sites,flatpages}.json
|
2018-09-30 15:48:27 +13:00
|
|
|
/usr/local/bin/python /app/symposion_app/manage.py loaddata /app/symposion_app/fixtures/{2019_groups,2019_registrasion,2019_schedule,2019_flatpages,2019_sitetree,2019_sections}.json
|
2018-09-29 16:46:59 +12:00
|
|
|
|
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
|
2018-06-16 11:49:39 +10:00
|
|
|
if [ -e /configs/auth/auth.json ]; then
|
|
|
|
/usr/local/bin/python /app/symposion_app/manage.py loaddata /configs/auth/auth.json
|
|
|
|
elif [ $DATABASE_URL == "sqlite:////tmp/symposion.sqlite" ]; then
|
2017-08-16 14:31:24 +10:00
|
|
|
/usr/local/bin/python /app/symposion_app/manage.py loaddata /app/symposion_app/fixtures/admin_users.json
|
|
|
|
fi
|
2018-06-27 16:48:26 +10:00
|
|
|
/usr/local/bin/python /app/symposion_app/manage.py loaddata -v3 /app/symposion_app/fixtures/cfp_teams_test.json
|
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
|