855c71eaca
This allows testing deployments to have accounts that can log in as admin.
10 lines
633 B
Bash
Executable file
10 lines
633 B
Bash
Executable file
#!/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
|
|
/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
|
|
fi
|
|
|
|
exec /usr/local/bin/uwsgi --http-socket 0.0.0.0:8000 --wsgi-file pinaxcon/wsgi.py
|