refinerycms-blog/readme.md
Jamie Winsor 21b19db5a3 refactor engine testing scenario
Engine is now tested standalone by leveraging a dummy rails app
Enable Guard for speedy testing
Move factories to the more standard location `spec/factories/*`
Update README with a Testing section
Rename migrations to contain datetimestamps for their version to fix migration order issues when migrating the dummy application
2011-08-03 18:01:32 -07:00

1.1 KiB

Refinery CMS Blog

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

This version of refinerycms-blog supports Rails 3.0.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 1.0.0 or above.

Install

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

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

Now, run bundle install

Next, to install the blog plugin run:

rails generate refinerycms_blog

Finally migrate your database and you're done.

rake db:migrate

Developing & Contributing

Testing

Setup the test environment

$ bundle install
$ bundle exec rake app:db:migrate
$ bundle exec rake app:db:test:prepare

Run the test suite with Guard

$ bundle exec guard start