Skip to content

michelada/ektar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ektar

Rails engine for Subscriptions

Usage

Installation

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"

Development

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

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.