db/seeds.rb is not needed anymore
This commit is contained in:
parent
01f6a0aad5
commit
c990a89e57
@ -1,9 +0,0 @@
|
||||
account = Account.create! :name => 'Admin', :email => 'admin@example.com', :password => 'locomotive', :password_confirmation => 'locomotive'
|
||||
|
||||
site = Site.new :name => 'Locomotive test website', :subdomain => 'test'
|
||||
site.memberships.build :account => account, :admin => true
|
||||
site.save!
|
||||
|
||||
puts "Your first website has been created !"
|
||||
puts "Admin url: http://test.example.com:3000/admin"
|
||||
puts "Crendetials: admin@example.com / locomotive"
|
Loading…
Reference in New Issue
Block a user