mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
parent
c1a29ea7b5
commit
48ae54d507
1 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
||||||
desc 'Bootstraps production-like environment'
|
desc 'Bootstraps production-like environment'
|
||||||
task :bootstrap do
|
task :bootstrap do
|
||||||
AdminUser.create!(
|
AdminUser.create!(
|
||||||
username: 'demo',
|
username: 'admin',
|
||||||
email: 'demo@domain.tld',
|
email: 'admin@domain.tld',
|
||||||
password: 'demodemo',
|
password: 'adminadmin',
|
||||||
password_confirmation: 'demodemo',
|
password_confirmation: 'adminadmin',
|
||||||
country_code: 'US',
|
country_code: 'US',
|
||||||
roles: ['admin']
|
roles: ['admin']
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue