Skip to content

A really straightforward open source Refinery CMS portfolio plugin written in Ruby on Rails

Notifications You must be signed in to change notification settings

refinery/refinerycms-portfolio

Repository files navigation

Refinery CMS Portfolio

Build Status

Simple portfolio engine for Refinery CMS.

This version of refinerycms-portfolio supports Refinery 3.x and Rails 4.2.x. To use Rails 3.x / Refinery 2.0.x use the refinerycms-portfolio "Refinery CMS 2-0 stable branch".

Requirements

Refinery CMS version 3.0.0 or above.

Install

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

gem 'refinerycms-portfolio', github: 'refinery/refinerycms-portfolio', branch: 'master'

Now run bundle install and once bundler has installed the gem run:

Next, to install the portfolio plugin run:

$ rails generate refinery:portfolio

Run database migrations:

$ bundle exec rake  db:migrate

Finally seed your database and you're done.

$ bundle exec 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

  • Check out our Website
  • Documentation is available in the guides
  • Questions can be asked on our Google Group
  • Questions can also be asked in our IRC room, #refinerycms on freenode