Skip to content

Commit

Permalink
Merge pull request #823 from shunghsiyu/dev_env_compile_translation
Browse files Browse the repository at this point in the history
Compile localized translation when starting development environment
  • Loading branch information
mattwang44 authored Jul 13, 2020
2 parents b40206e + 5381b38 commit 32419ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ echo 'Run migration'
python3 /app/src/manage.py migrate
echo 'Create super user'
python3 /app/src/manage.py createsuperuser --noinput || echo "Super user already created"
echo 'Compile localized translation'
python3 /app/src/manage.py compilemessages
exec "$@"

0 comments on commit 32419ee

Please sign in to comment.