Skip to content

robotex82/ecm_blog

Repository files navigation

Ecm::Blog

Short description and motivation.

Usage

How to use my plugin.

Prerequisites

For correct pagination rendering you have to add kmaniari views via the correct gem.

For bootstrap 3:

# Gemfile
gem 'twitter-bootstrap-3'

For bootstrap 4:

# Gemfile
gem 'twitter-bootstrap-3'

Please ensure to set the correct pagination options (pagination_options_proc) as documented in the initializer.

Installation

Add this line to your application's Gemfile:

gem 'ecm_blog'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ecm_blog

Add migrations and migrate:

$ rake ecm_blog:install:migrations && rake db:migrate

Install routes and initializer:

$ rails g ecm:blog:install

Configuration

See the generated initializer in config/initializers/ecm_blog.rb for configuration options.

Contributing

Contribution directions go here.

License

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