internetee-registry/lib/tasks/bootstrap.rake
2018-10-24 09:12:41 +03:00

11 lines
262 B
Ruby

desc 'Bootstraps production-like environment'
task :bootstrap do
AdminUser.create!(
username: 'admin',
email: 'admin@domain.tld',
password: 'adminadmin',
password_confirmation: 'adminadmin',
country_code: 'US',
roles: ['admin']
)
end