collectstatic when DEBUG is not true
This commit is contained in:
parent
262e493b56
commit
b25b390e6a
|
@ -109,7 +109,9 @@ main() {
|
||||||
|
|
||||||
inject_env_vars
|
inject_env_vars
|
||||||
|
|
||||||
#./manage.py collectstatic
|
if [ ! "${DEBUG}" = "true" ]; then
|
||||||
|
./manage.py collectstatic
|
||||||
|
fi
|
||||||
|
|
||||||
./manage.py runserver 0.0.0.0:${PORT}
|
./manage.py runserver 0.0.0.0:${PORT}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue