This commit is contained in:
gitlabhq 2011-10-21 20:58:04 +03:00
parent 1c26607290
commit 35d24b3928
5 changed files with 23 additions and 80 deletions

View file

@ -1,4 +1,3 @@
# Admin account
admin = User.create(
:email => "admin@local.host",
:name => "Administrator",
@ -9,3 +8,12 @@ admin = User.create(
admin.projects_limit = 10000
admin.admin = true
admin.save!
if admin.valid?
puts %q[
Administrator account created:
login.........admin@local.host
password......5iveL!fe
]
end

View file

@ -8,3 +8,12 @@ admin = User.create(
admin.projects_limit = 10000
admin.admin = true
admin.save!
if admin.valid?
puts %q[
Administrator account created:
login.........admin@local.host
password......5iveL!fe
]
end