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

precomputed network files

parent 55769e52
No related branches found
No related tags found
No related merge requests found
......@@ -13,4 +13,4 @@ docker-entrypoint.lock
celerybeat-schedule.bak
celerybeat-schedule.dat
celerybeat-schedule.dir
docker-django.env.prod
\ No newline at end of file
docker-django.env.prodnetworks.zip
data.zip
networks.zip
#!/bin/bash
file="store/docker-entrypoint.lock"
# exit if entrypoint.lock exists to prevent new import of data every time docker is restarted
#if ! test -f "$file"; then
# sh scripts/import-data.sh
python3 manage.py makemigrations drugstone
python3 manage.py migrate
python3 manage.py createfixtures
python3 manage.py cleanuptasks
python3 manage.py populate_db --all --update
python3 manage.py make_graphs
# touch $file
#fi
python3 manage.py makemigrations drugstone
python3 manage.py migrate
python3 manage.py createfixtures
python3 manage.py cleanuptasks
python3 manage.py populate_db --all --update
python3 manage.py make_graphs
/usr/bin/supervisord -c "/etc/supervisor/conf.d/supervisord.conf"
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