mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
parent
924e6c037a
commit
ca6105a919
3 changed files with 12 additions and 34 deletions
11
lib/tasks/bootstrap.rake
Normal file
11
lib/tasks/bootstrap.rake
Normal file
|
@ -0,0 +1,11 @@
|
|||
desc 'Bootstraps production-like environment'
|
||||
task :bootstrap do
|
||||
AdminUser.create!(
|
||||
username: 'demo',
|
||||
email: 'demo@domain.tld',
|
||||
password: 'demodemo',
|
||||
password_confirmation: 'demodemo',
|
||||
country_code: 'US',
|
||||
roles: ['admin']
|
||||
)
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue