Add gettext alpine package for compiling translations + force compiling when starting the dev server

This commit is contained in:
Gaëtan L
2023-02-16 17:30:35 +01:00
parent 881baea891
commit 65e22d9023
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -13,7 +13,12 @@ services:
PYTHONPATH: ".."
DB: "SQLITE"
DEBUG: "True"
command: sh -c "cd test_project && python3 manage.py migrate && python3 manage.py load_initial_data && python3 manage.py runserver 0:8000"
command: >
sh -c "cd test_project
python3 manage.py migrate
python3 manage.py load_initial_data
django-admin compilemessages
python3 manage.py runserver 0:8000"
volumes:
- .:/code