```ruby
puts "Seeding database"
puts "-------------------------------"

# Create an initial Admin User
admin_email = "errbit@#{Errbit::Config.host}"
admin_pass  = 'password'

puts "Creating an initial admin user:"
puts "-- email:    #{admin_email}"
puts "-- password: #{admin_pass}"
puts ""
puts "Be sure to change these credentials ASAP!"
User.create!({
  :name                   => 'Errbit Admin',
  :email                  => admin_email,
  :password               => admin_pass,
  :password_confirmation  => admin_pass,
  :admin                  => true
})```

Use admin@ for default admin account and set the password to something random.
user
```ruby
puts "Seeding database"
puts "-------------------------------"

# Create an initial Admin User
admin_email = "admin@#{Errbit::Config.host}"
admin_pass  = ActiveSupport::SecureRandom.hex(8)

puts "Creating an initial admin user:"
puts "-- email:    #{admin_email}"
puts "-- password: #{admin_pass}"
puts ""
puts "Be sure to change these credentials ASAP!"
User.create!({
  :name                   => 'Errbit Admin',
  :email                  => admin_email,
  :password               => admin_pass,
  :password_confirmation  => admin_pass,
  :admin                  => true
})```
assistant