Commit 1e01bad2a9540a47073702e0c7d8799f0f0852dd

Authored by Antonio Terceiro
1 parent 1b85bfcf

noosfero: initialize domain

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
cookbooks/noosfero/recipes/default.rb
... ... @@ -16,7 +16,7 @@ end
16 16  
17 17 # create DB schema
18 18 execute 'noosfero:schema' do
19   - command 'RAILS_ENV=production bundle exec rake db:schema:load && RAILS_ENV=production bundle exec rake db:data:minimal'
  19 + command "RAILS_ENV=production bundle exec rake db:schema:load && RAILS_ENV=production NOOSFERO_DOMAIN=#{node['conf']['external_hostname']} bundle exec rake db:data:minimal"
20 20 cwd '/usr/lib/noosfero'
21 21 user 'noosfero'
22 22 not_if do
... ...