Skip to content

Home Information - Your home, your data, organized.

Python
484 B
Raw Blame
#!/bin/bash

echo "Initial Django admin initialization."
cd /src

echo "Collecting static files..."
python manage.py collectstatic --noinput

echo "Running migrations..."
python manage.py migrate --noinput

echo "Creating superuser and groups..."
python manage.py hi_createsuperuser
python manage.py hi_creategroups

echo "Syncing settings..."
python manage.py sync_settings

echo "Syncing integrations..."
python manage.py sync_integrations

echo "Starting supervisord..."
exec "$@"