Commit f2dd6cab62b7e062c339623ba5d42dd59ed1887e
1 parent
f25836c1
Exists in
master
and in
90 other branches
Add command for run translations.
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
cookbooks/noosfero/recipes/default.rb
| ... | ... | @@ -46,6 +46,10 @@ 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 | + command 'rake noosfero:translations:compile --quiet' | |
| 51 | +end | |
| 52 | + | |
| 49 | 53 | template '/etc/noosfero/thin.yml' do |
| 50 | 54 | owner 'root'; group 'root'; mode 0644 |
| 51 | 55 | notifies :restart, 'service[noosfero]' | ... | ... |