2017-05-07 06:37:26 +00:00
|
|
|
#!/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
|
2017-05-07 10:05:03 +00:00
|
|
|
/usr/local/bin/python /app/symposion_app/manage.py populate_inventory
|
2017-08-16 04:31:24 +00: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 01:47:41 +00:00
|
|
|
|
|
|
|
exec /usr/local/bin/uwsgi --http-socket 0.0.0.0:8000 --wsgi-file pinaxcon/wsgi.py
|