Skip to content

Commit

Permalink
Fixes: zammad#4968 - Locale and Translation updates missing for docke…
Browse files Browse the repository at this point in the history
…r-compose and helm
  • Loading branch information
mgruner committed Dec 6, 2023
1 parent b053828 commit 43746f6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions contrib/docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,17 @@ if [ "$1" = 'zammad-init' ]; then
base64 -d <<< "${AUTOWIZARD_JSON}" > "${AUTOWIZARD_RELATIVE_PATH}"
fi
else
echo Clearing cache...
bundle exec rails r "Rails.cache.clear"

echo Executing migrations...
bundle exec rake db:migrate

echo Synchronizing locales...
bundle exec rails r "Locale.sync"

echo Synchronizing translations...
bundle exec rails r "Translation.sync"
fi

# es config
Expand Down

0 comments on commit 43746f6

Please sign in to comment.