diff options
author | Rémy Coutable <remy@rymai.me> | 2017-08-16 11:14:57 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-08-16 11:14:57 +0000 |
commit | e3a6ab4e6543db37769106e4a87bb214205358f3 (patch) | |
tree | 6a216a86dfe38de6ca4118e060108f49d7bce5cb | |
parent | 880380ce57294132448468c8518e123f4e039d11 (diff) | |
parent | 5e3ce3bbec27c9b769f59985885800bdcca6ad43 (diff) | |
download | gitlab-ce-9-2-stable.tar.gz |
Merge branch 'add-missing-i18n-guidelines' into '9-2-stable'9-2-stable
Add missing guidelines for i18n setup
See merge request !13540
-rw-r--r-- | doc/update/9.1-to-9.2.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/update/9.1-to-9.2.md b/doc/update/9.1-to-9.2.md index 55087fce9b4..e19b78e955b 100644 --- a/doc/update/9.1-to-9.2.md +++ b/doc/update/9.1-to-9.2.md @@ -77,6 +77,7 @@ cd /home/git/gitlab sudo -u git -H git fetch --all sudo -u git -H git checkout -- db/schema.rb # local changes will be restored automatically +sudo -u git -H git checkout -- locale ``` For GitLab Community Edition: @@ -224,6 +225,11 @@ sudo -u git -H bundle clean # Run database migrations sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production +# Compile GetText PO files + +sudo -u git -H bundle exec rake gettext:pack RAILS_ENV=production +sudo -u git -H bundle exec rake gettext:po_to_json RAILS_ENV=production + # Update node dependencies and recompile assets sudo -u git -H bundle exec rake yarn:install gitlab:assets:clean gitlab:assets:compile RAILS_ENV=production NODE_ENV=production |