From 8861060b9ae2412febb84337fed90fc434a2a5ed Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 3 Mar 2020 10:20:35 +0100 Subject: [PATCH] collect module static files with each run --- .gitignore | 3 +++ development.sh | 1 + run.sh | 1 + 3 files changed, 5 insertions(+) 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