diff --git a/.gitignore b/.gitignore index 7f2d8a0..43125b8 100644 --- a/.gitignore +++ b/.gitignore @@ -173,3 +173,6 @@ migrations/ .pytest_cache/ htmlcov/ .second_run + +network_inventory/network_inventory/static/ +!network_inventory/network_inventory/static/core diff --git a/development.sh b/development.sh index c01fddb..8977e12 100755 --- a/development.sh +++ b/development.sh @@ -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 diff --git a/run.sh b/run.sh index 004aa66..80e923c 100755 --- a/run.sh +++ b/run.sh @@ -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