-
AndiMajore authored
Former-commit-id: 27b2fd782cd6d3648b4842731aefd781a36dd590 [formerly 42f266cc31ee36db4ac9048589fa01e01bfb6a90] Former-commit-id: 13f8f7f41fc5d92a31785d161dbbe29c4a7eb1e2
AndiMajore authoredFormer-commit-id: 27b2fd782cd6d3648b4842731aefd781a36dd590 [formerly 42f266cc31ee36db4ac9048589fa01e01bfb6a90] Former-commit-id: 13f8f7f41fc5d92a31785d161dbbe29c4a7eb1e2
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
docker-entrypoint.sh 403 B
#!/bin/bash
python3 manage.py makemigrations drugstone
python3 manage.py migrate
python3 manage.py createfixtures
python3 manage.py cleanuptasks
if [ -z "$DB_UPDATE_ON_START" ] || [ "$DB_UPDATE_ON_START" = "0" ]
then
echo "Update on startup disabled!"
else
python3 manage.py populate_db --update -a
python3 manage.py make_graphs
fi
/usr/bin/supervisord -c "/etc/supervisor/conf.d/supervisord.conf"