A really straightforward open source Refinery CMS portfolio plugin written in Ruby on Rails
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”.
Refinery CMS version 3.0.0 or above.
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
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.
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