#!/bin/bash

# Migrations
python manage.py migrate

# Collect static files
python manage.py collectstatic --noinput

# Run app
exec gunicorn emission_events.wsgi:application \
  --workers 3 \
  --bind 0.0.0.0:8000 \
  "$@"

#!/bin/bash

# Migrations
python manage.py migrate

# Collect static files
python manage.py collectstatic --noinput

# Run app
cd emission_events
exec gunicorn emission_events.wsgi:application \
  --workers 3 \
  --bind 0.0.0.0:8000 \
  "$@"

Revert "Refactor away the cd in the start script"
Revert "Refactor away the cd in the start script"

This reverts commit 7513fc578f2bd39aa5acea691b524c4b86aa4083.
