Rails engine for Subscriptions
Add this line to your application's Gemfile:
gem 'ektar'And then execute:
$ bundleMount the engine in your application through routes.rb
mount Ektar::Engine => "/ektar"Clone this repo and execute:
$ bundle
$ bundle exec lefthook add pre-commitRun migrations
$ bin/rails db:create db:migrateTo start the dummy Rails application you will need Overmind. On MacOS it can be installed via Homebrew:
$ brew install overmindStart the project with:
$ overmind startYour Rails server will be available at http://localhost:3010
To run linters execute:
$ bundle exec lefthook run pre-commitCompile assets with
$ bin/rails app:ektar:webpacker:clean_webpack_output_folder app:ektar:webpacker:compileContribution directions go here.
The gem is available as open source under the terms of the MIT License.