Create Admin Role
rake db:the_role:admin
bundle exec rake the_role_engine:install:migrations
If you need to overwrite something, change views or locales, you can use generators
. Generators will copy files from TheRole into your Rails App:
Show me HELP
bundle exec rails g the_role help
Install config file and models
bundle exec rails g the_role install
Install config file
bundle exec rails g the_role config
Install models
bundle exec rails g the_role models
Install controllers
bundle exec rails g the_role controllers
Install locales
bundle exec rails g the_role locales
Show me HELP
bundle exec rails g the_role_management_panel help
Install views, controllers, assets
bundle exec rails g the_role_management_panel install
Install assets
bundle exec rails g the_role_management_panel assets
Install controllers
bundle exec rails g the_role_management_panel controllers
Install views
bundle exec rails g the_role_management_panel views
Install locales
bundle exec rails g the_role_management_panel locales