Commit dd118a86372d0785d94def2c07c32c2279aeecf0
1 parent
b48c36ce
Exists in
master
and in
29 other branches
ActionItem154: adding the default hostname
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1408 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
script/anhetegua
@@ -55,7 +55,10 @@ O menu superior é o principal instrumento de navegação: | @@ -55,7 +55,10 @@ O menu superior é o principal instrumento de navegação: | ||
55 | EOF | 55 | EOF |
56 | 56 | ||
57 | 57 | ||
58 | -Environment.create!(:name => 'Anheteguá', :is_default => true, :description => environment_description) | 58 | +env = Environment.create!(:name => 'Anheteguá', :is_default => true, :description => environment_description) |
59 | +domain = Domain.new(:name => 'ecosol.noosfero.com.br') | ||
60 | +domain.owner = env | ||
61 | +domain.save! | ||
59 | 62 | ||
60 | tematicas = new_category(nil, 'Temáticas', 1) | 63 | tematicas = new_category(nil, 'Temáticas', 1) |
61 | new_category(tematicas, 'Finanças Solidárias') | 64 | new_category(tematicas, 'Finanças Solidárias') |