collect static files during upgrade

This commit is contained in:
wh1te909 2020-08-10 20:29:42 +00:00
parent e5a15c6fef
commit d5c9d2acc7
2 changed files with 2 additions and 1 deletions

View File

@ -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 setuptools==47.3.2 wheel==0.34.2
pip install --no-cache-dir -r /rmm/api/tacticalrmm/requirements.txt pip install --no-cache-dir -r /rmm/api/tacticalrmm/requirements.txt
python manage.py migrate python manage.py migrate
python manage.py collectstatic python manage.py collectstatic --no-input
python manage.py load_chocos python manage.py load_chocos
printf >&2 "${YELLOW}%0.s*${NC}" {1..80} printf >&2 "${YELLOW}%0.s*${NC}" {1..80}
printf >&2 "\n" printf >&2 "\n"

View File

@ -22,6 +22,7 @@ pip install --no-cache-dir -r requirements.txt
python manage.py migrate python manage.py migrate
python manage.py delete_tokens python manage.py delete_tokens
python manage.py fix_salt_key python manage.py fix_salt_key
python manage.py collectstatic --no-input
deactivate deactivate