This setup template includes:
NOTE: Review the code before running this template on your machine.
- Create a new Rails Engine
rails plugin new my-engine-name --mountable
- Resolve TODO's from your
gemspec
file - Make sure the rake tasks from the engine’s dummy app are available under the app: namespace (Required for step 4)
- Run this command in your Rails engine directory
rails app:app:template LOCATION='https://raw.githubusercontent.com/Grupo-AFAL/rails-templates/main/engine_setup/main.rb'