Skip to content
Snippets Groups Projects
Commit 725b0764 authored by AndiMajore's avatar AndiMajore
Browse files

fixed startup entry point

Former-commit-id: c7553218
parent c28ddbfb
No related branches found
No related tags found
No related merge requests found
...@@ -4,9 +4,9 @@ python3 manage.py makemigrations drugstone ...@@ -4,9 +4,9 @@ python3 manage.py makemigrations drugstone
python3 manage.py migrate python3 manage.py migrate
python3 manage.py createfixtures python3 manage.py createfixtures
python3 manage.py cleanuptasks python3 manage.py cleanuptasks
if [[ -z "$DB_UPDATE_ON_START" ]] || [[ "$DB_UPDATE_ON_START" = "0" ]] if [ -z "$DB_UPDATE_ON_START" ] || [ "$DB_UPDATE_ON_START" = "0" ]
then then
echo "Update on startup disabled!" echo "Update on startup disabled!"
else else
python3 manage.py populate_db --update -a python3 manage.py populate_db --update -a
python3 manage.py make_graphs python3 manage.py make_graphs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment