A really straightforward open source Refinery CMS portfolio plugin written in Ruby on Rails
Ruby HTML CoffeeScript JavaScript
Latest commit 305c52e Jul 19, 2016 @parndt parndt committed on GitHub Merge pull request #117 from gabyshev/fix-comparison-fixnum-with-nil
Fix #110 issue. Add :position param to Refinery::Portfolio::Admin::ItemsController
Failed to load latest commit information.
app Merge pull request #117 from gabyshev/fix-comparison-fixnum-with-nil Jul 19, 2016
bin Update README with more informations and fewer WARNINGS [ci skip] Aug 13, 2015
config Added russian locale. Fixed string key for items/_records Jul 12, 2016
db New feature translate slug Jul 23, 2015
lib Fix plugin url #107 Sep 25, 2015
script
spec We need not require factory_girl_rails Feb 17, 2015
tasks
.gitignore Ignore Gemfile.lock Feb 18, 2012
.travis.yml Update Travis config Jan 28, 2016
Gemfile Update Gemfile to fix specs Jan 28, 2016
Guardfile Initial import / some specs for display. Feb 6, 2012
Rakefile Upgraded dependencies and fixed tests for that relied on deprecated h… May 1, 2014
readme.md Fix typo in readme #116 Nov 11, 2015
refinerycms-portfolio.gemspec Update refinerycms-acts-as-indexed dependency Jul 12, 2016

readme.md

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