Admin user
sh
rails g trek:admin:user
# or (soon)
trek admin:userCreates an admin user with the credentials defined by the ADMIN_EMAIL and ADMIN_PASSWORD ENV variables, typically set in .env:
sh
# .env
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=a-strong-passwordThe created user gets the admin role, which makes it privileged? and grants it full access in the default policies.