Merge pull request 'Create a seed user for the develoment environment' (#152) from seed-user into main
Some checks failed
Check usage of free licenses / check-licenses (push) Successful in 2m8s
Run unit tests / unit_tests (push) Successful in 5m20s
Build Nginx-based docker image / build-static-assets (push) Failing after 15m46s

Reviewed-on: #152
This commit is contained in:
bustikiller 2024-11-30 18:28:25 +00:00
commit bc4e9cc63e

View File

@ -67,4 +67,11 @@ ActiveJob.perform_all_later(3.times.map { TableSimulatorJob.new })
'red'.paint.palette.triad(as: :hex).zip(Group.roots).each { |(color, group)| group.update!(color: color.paint.desaturate(40)) }
Group.roots.each(&:colorize_children)
Group.roots.each(&:colorize_children)
User.create!(
email: 'development@example.com',
confirmed_at: Time.zone.now,
password: 'supersecretpassword',
password_confirmation: 'supersecretpassword',
)