No description
Find a file
2012-04-01 16:23:15 -07:00
app Fix MassAssignmentSecurity::Error in integration test. 2012-04-01 16:23:15 -07:00
config Fix draft translation 2012-03-22 08:41:38 -05:00
db Fixed drop_table for Category. 2012-03-24 15:22:58 -03:00
lib Don't cache when logged in or there's a flash message. Moved canonical to protected methods. 2012-03-20 15:16:58 +13:00
script Dummy app is no longer a submodule, now part of the projected - generated by testing generator 2011-08-10 17:03:37 -07:00
spec Remove functionality provided by rails. 2012-02-23 00:09:09 -08:00
tasks Don't need testing task if we require refinery-settings. 2012-03-01 14:00:09 +02:00
.gitignore Ignore .rbx 2012-02-02 10:53:53 +13:00
.rspec Updated to support Refinery CMS 2.0.1 and Rails 3.2.2 2012-03-06 13:17:41 +13:00
.travis.yml Don't need to test on both 1.8.7 and ree and given the choice I'm going with 1.8.7 2012-02-01 21:11:25 +13:00
changelog.md Edited changelog.md via GitHub 2011-06-30 10:35:22 -07:00
Gemfile There's already dev, test group in Gemfile so use that. 2012-03-01 08:43:34 +02:00
Guardfile index action of blog post controller now caches and sweeps on changes 2011-09-03 21:55:30 -07:00
Rakefile Don't need testing task if we require refinery-settings. 2012-03-01 14:00:09 +02:00
readme.md Add rake db:seed to install steps. 2012-03-09 17:07:24 +02:00
refinerycms-blog.gemspec Updated to support Refinery CMS 2.0.1 and Rails 3.2.2 2012-03-06 13:17:41 +13:00
todo.md wanna keep track of ideas, i guess 2011-06-30 15:30:14 -05:00

Refinery CMS Blog

Simple blog engine for Refinery CMS. It supports posts, categories and comments.

This version of refinerycms-blog supports Rails 3.2.x. To use Rails 2.3.x use the refinerycms-blog "Rails 2.3.x stable branch".

Options:

  • Comment moderation
  • ShareThis.com support on posts. To enable, set your key in Refinery's settings area.

Requirements

Refinery CMS version 2.0.0 or above.

Install

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

gem 'refinerycms-blog', '~> 2.0.0'

Now, run bundle install

Next, to install the blog plugin run:

rails generate refinery:blog

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