mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
11 lines
274 B
Ruby
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
|