Home

Awesome

Refinery CMS Resource Categories

Build Status Code Climate Test Coverage

Resource categories extension for Refinery CMS allows you to categorize resources.

In summary you can:

Requirements

This version of refinerycms-resource-categories supports Rails 4.1+.

Install

Open up your Gemfile and add at the bottom this line:

gem 'refinerycms-resource-categories', github: 'bisscomm/refinerycms-resource-categories', branch: 'master'

Now, run bundle install

Next, to install the resource categories plugin run:

rails generate refinery:resource_categories

Run database migrations:

rake db:migrate

Finally seed your database and you're done.

rake db:seed

Developing & Contributing

The version of Refinery to develop this engine against is defined in the gemspec. To override the version of refinery to develop against, edit the project Gemfile to point to a local path containing a clone of refinerycms.

Testing

Generate the dummy application to test against

$ bundle exec rake refinery:testing:dummy_app

Run the test suite with Guard

$ bundle exec guard start

Or just with rake spec

$ bundle exec rake spec

More Information