No description
Find a file
2012-02-01 16:34:06 +13:00
app Added support for new code in Refinery CMS since resolve/refinerycms#1234 2012-02-01 16:34:06 +13:00
config Added support for new code in Refinery CMS since resolve/refinerycms#1234 2012-02-01 16:34:06 +13:00
db add source url for post 2012-01-25 22:27:46 -07:00
lib add source url for post 2012-01-25 22:27:46 -07: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 Added support for new code in Refinery CMS since resolve/refinerycms#1234 2012-02-01 16:34:06 +13:00
tasks Fix spec setup. 2011-12-14 11:51:46 -08:00
.gitignore Add spec/dummy to git ignore file 2011-10-26 13:29:41 -07:00
.rspec Use fuubar formatting for rspec 2011-08-15 00:15:36 -07:00
.travis.yml We don't need to read all about the dummy app or test on rbx-2.0 2012-01-31 18:16:31 +13:00
changelog.md Edited changelog.md via GitHub 2011-06-30 10:35:22 -07:00
Gemfile Loosen version requirements in Gemfile. 2012-01-26 16:56:22 -08:00
Guardfile index action of blog post controller now caches and sweeps on changes 2011-09-03 21:55:30 -07:00
Rakefile Fixed namespacing for Refinery conventions. 2012-01-17 16:56:24 +13:00
readme.md ruby highlighting added 2012-01-10 16:30:36 +13:00
refinerycms-blog.gemspec We don't need to read all about the dummy app or test on rbx-2.0 2012-01-31 18:16:31 +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.1.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. Set your key in Refinery's settings area to enable this.

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

Finally migrate your database and you're done.

rake db:migrate

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