Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 55 lines (29 sloc) 1.368 kB
c38d9c3 @awagener Remove all Rails2/Rails3 checks as master is now Rails3 only
awagener authored
1 # Refinery CMS Blog
18a7089 @djones added arrows to menu, added new comments count to top level menu item…
djones authored
2
06a0ec2 @djones updated readme to explain how to enable sharethis support
djones authored
3 Simple blog engine for [Refinery CMS](http://refinerycms.com). It supports posts, categories and comments.
4
0ea3690 @ugisozols Test.
ugisozols authored
5 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"](http://github.com/resolve/refinerycms-blog/tree/rails2-stable).
c38d9c3 @awagener Remove all Rails2/Rails3 checks as master is now Rails3 only
awagener authored
6
06a0ec2 @djones updated readme to explain how to enable sharethis support
djones authored
7 Options:
8
9 * Comment moderation
1a3e0d0 @parndt Rephrase slightly
parndt authored
10 * [ShareThis.com](http://sharethis.com) support on posts. To enable, set your key in Refinery's settings area.
18a7089 @djones added arrows to menu, added new comments count to top level menu item…
djones authored
11
75e9940 @parndt Version 1.1 which supports Rails3 versions of RefineryCMS (1.0.1 etc …
parndt authored
12 ## Requirements
13
e70193c @ugisozols Update readme.
ugisozols authored
14 Refinery CMS version 2.0.0 or above.
75e9940 @parndt Version 1.1 which supports Rails3 versions of RefineryCMS (1.0.1 etc …
parndt authored
15
c38d9c3 @awagener Remove all Rails2/Rails3 checks as master is now Rails3 only
awagener authored
16 ## Install
b289799 @djones update formatting of readme
djones authored
17
75e9940 @parndt Version 1.1 which supports Rails3 versions of RefineryCMS (1.0.1 etc …
parndt authored
18 Open up your ``Gemfile`` and add at the bottom this line:
b289799 @djones update formatting of readme
djones authored
19
889127a @parndt ruby highlighting added
parndt authored
20 ```ruby
21 gem 'refinerycms-blog', '~> 2.0.0'
22 ```
18a7089 @djones added arrows to menu, added new comments count to top level menu item…
djones authored
23
75e9940 @parndt Version 1.1 which supports Rails3 versions of RefineryCMS (1.0.1 etc …
parndt authored
24 Now, run ``bundle install``
18a7089 @djones added arrows to menu, added new comments count to top level menu item…
djones authored
25
75e9940 @parndt Version 1.1 which supports Rails3 versions of RefineryCMS (1.0.1 etc …
parndt authored
26 Next, to install the blog plugin run:
e5b9af1 @parndt Merged in Joe's and Steven's forks and updated for compatibility with…
parndt authored
27
e70193c @ugisozols Update readme.
ugisozols authored
28 rails generate refinery:blog
18a7089 @djones added arrows to menu, added new comments count to top level menu item…
djones authored
29
bb900f1 @ugisozols Add rake db:seed to install steps.
ugisozols authored
30 Run database migrations:
18a7089 @djones added arrows to menu, added new comments count to top level menu item…
djones authored
31
21b19db @reset refactor engine testing scenario
reset authored
32 rake db:migrate
bb900f1 @ugisozols Add rake db:seed to install steps.
ugisozols authored
33
34 Finally seed your database and you're done.
35
36 rake db:seed
37
21b19db @reset refactor engine testing scenario
reset authored
38 ## Developing & Contributing
39
5e24eeb @reset Update README with additional development instructions
reset authored
40 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.
41
21b19db @reset refactor engine testing scenario
reset authored
42 ### Testing
43
fd7ce5e @reset Update readme on how to test
reset authored
44 Generate the dummy application to test against
21b19db @reset refactor engine testing scenario
reset authored
45
fd7ce5e @reset Update readme on how to test
reset authored
46 $ bundle exec rake refinery:testing:dummy_app
21b19db @reset refactor engine testing scenario
reset authored
47
48 Run the test suite with [Guard](https://github.com/guard/guard)
49
50 $ bundle exec guard start
fd7ce5e @reset Update readme on how to test
reset authored
51
52 Or just with rake spec
53
54 $ bundle exec rake spec
Something went wrong with that request. Please try again.