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