internetee-registry/lib/tasks/bootstrap.rake
2017-05-15 11:48:16 +03:00

11 lines
274 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