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