From d5c9d2acc7a3d66f66787646231447a572d9c459 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Mon, 10 Aug 2020 20:29:42 +0000 Subject: [PATCH] collect static files during upgrade --- install.sh | 2 +- update.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 688c551a..56f46552 100755 --- a/install.sh +++ b/install.sh @@ -243,7 +243,7 @@ pip install --no-cache-dir --upgrade pip pip install --no-cache-dir setuptools==47.3.2 wheel==0.34.2 pip install --no-cache-dir -r /rmm/api/tacticalrmm/requirements.txt python manage.py migrate -python manage.py collectstatic +python manage.py collectstatic --no-input python manage.py load_chocos printf >&2 "${YELLOW}%0.s*${NC}" {1..80} printf >&2 "\n" diff --git a/update.sh b/update.sh index 3e9792c4..50bcf744 100644 --- a/update.sh +++ b/update.sh @@ -22,6 +22,7 @@ pip install --no-cache-dir -r requirements.txt python manage.py migrate python manage.py delete_tokens python manage.py fix_salt_key +python manage.py collectstatic --no-input deactivate