Commit 07697e2db556903f7efdb8783c495c93d611e0af
Exists in
master
and in
90 other branches
Merge branch 'activate_translations' into 'master'
Activate translations See merge request !14
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
cookbooks/noosfero/recipes/default.rb
| ... | ... | @@ -46,6 +46,12 @@ execute 'theme:enable' do |
| 46 | 46 | command 'psql -h database -U noosfero --no-align --tuples-only -q -c "update environments set theme=\'noosfero-spb-theme\' where id=1;"' |
| 47 | 47 | end |
| 48 | 48 | |
| 49 | +execute 'translations:enable' do | |
| 50 | + cwd '/usr/lib/noosfero' | |
| 51 | + user 'noosfero' | |
| 52 | + command 'RAILS_ENV=production bundle exec rake noosfero:translations:compile --quiet' | |
| 53 | +end | |
| 54 | + | |
| 49 | 55 | template '/etc/noosfero/thin.yml' do |
| 50 | 56 | owner 'root'; group 'root'; mode 0644 |
| 51 | 57 | notifies :restart, 'service[noosfero]' | ... | ... |