No description
Find a file
2012-02-05 23:54:41 -08:00
app Refinery::Crud already sets title_attribute and redirect_to_url with the same values. 2012-02-04 22:01:00 +02:00
config Stop logging to stdout. 2012-02-05 23:54:41 -08:00
db Move some of the Refinery::Setting's over to Refinery::Blog. 2012-02-04 21:22:51 +02:00
lib Move some of the Refinery::Setting's over to Refinery::Blog. 2012-02-04 21:22:51 +02: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 Move some of the Refinery::Setting's over to Refinery::Blog. 2012-02-04 21:22:51 +02:00
tasks Fix spec setup. 2011-12-14 11:51:46 -08:00
.gitignore Ignore .rbx 2012-02-02 10:53:53 +13:00
.rspec Use fuubar formatting for rspec 2011-08-15 00:15:36 -07: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 Add jruby compatible DB gems. 2012-02-01 20:53:29 +13: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