feat: compile messages on startup
This commit is contained in:
@@ -8,6 +8,7 @@ WORKER_NUM_PROCESSES=${WORKER_NUM_PROCESSES:=1}
|
||||
RUN_SERVER=${RUN_SERVER:="FALSE"}
|
||||
RUN_CELERY=${RUN_CELERY:="FALSE"}
|
||||
|
||||
python manage.py compilemessages
|
||||
|
||||
if [ $RUN_SERVER = "TRUE" ]; then
|
||||
service nginx start
|
||||
|
||||
Reference in New Issue
Block a user