collectstatic when DEBUG is not true

This commit is contained in:
pedro 2024-03-18 10:32:28 +01:00
parent 262e493b56
commit b25b390e6a

View file

@ -109,7 +109,9 @@ main() {
inject_env_vars
#./manage.py collectstatic
if [ ! "${DEBUG}" = "true" ]; then
./manage.py collectstatic
fi
./manage.py runserver 0.0.0.0:${PORT}
}