mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
Fix bootstrap task that does not load the environment
This commit is contained in:
parent
910753b076
commit
3d78128c76
3 changed files with 8 additions and 8 deletions
|
@ -1,11 +1,11 @@
|
|||
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']
|
||||
username: 'admin',
|
||||
email: 'admin@domain.tld',
|
||||
password: 'adminadmin',
|
||||
password_confirmation: 'adminadmin',
|
||||
country_code: 'US',
|
||||
roles: ['admin']
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue