Engine generator heavily inspired from the official Plugin generator. It can be used to generate Modular Rails Engines with 2 level of namespace.
Created for Modular Rails (https://modularity.samurais.com).
Add this line to your application's Gemfile:
gem 'modular_engine'
And then execute:
$ bundle
Or install it yourself as:
$ gem install modular_engine
To generate a new modular engine, run the following command from a Ruby on Rails application:
$ rails generate modular:engine path/to/my_engine --namespace='my_namespace'
- Fork it ( https://github.com/[my-github-username]/modular_engine/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request