collect module static files with each run
This commit is contained in:
parent
dc8625369e
commit
8861060b9a
|
@ -173,3 +173,6 @@ migrations/
|
|||
.pytest_cache/
|
||||
htmlcov/
|
||||
.second_run
|
||||
|
||||
network_inventory/network_inventory/static/
|
||||
!network_inventory/network_inventory/static/core
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
if [ -f ./.second_run ]; then
|
||||
sleep 2
|
||||
python manage.py collectstatic --noinput
|
||||
python manage.py makemigrations
|
||||
python manage.py migrate
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue