blob: f5f0e531f1a6e64a25fcf8c6639bf230ab995f1a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Refinery CMS Blog
Simple blog engine for [Refinery CMS](http://refinerycms.com). 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"](http://github.com/resolve/refinerycms-blog/tree/rails2-stable).
Options:
* Comment moderation
* [ShareThis.com](http://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](https://github.com/guard/guard)
$ bundle exec guard start
|