11 lines
250 B
Bash
Executable file
11 lines
250 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Only migrate, collectstatic and compilemessages if we are NOT in development
|
|
if [ -z "$DEBUG" ]; then
|
|
python src/manage.py migrate;
|
|
python src/manage.py collectstatic --no-input;
|
|
python src/manage.py compilemessages;
|
|
fi
|
|
|
|
exec "$@"
|