适用于 Refinery CMS 的最佳博客引擎
Simple blog engine for Refinery CMS. It supports posts, categories and comments.
This version of refinerycms-blog supports Refinery 4.x and Rails 5.1.x (Ruby 2.2+). To use Rails 4.x / Refinery 3.1.x / Ruby 2.1 or older use the refinerycms-blog "Refinery CMS 3-0 stable branch".
Options:
Refinery CMS version 4.0.0 or above (Ruby 2.2 or above).
Open up your Gemfile and at the bottom, add this line:
gem 'refinerycms-blog', git: 'https://github.com/refinery/refinerycms-blog', branch: 'master'Note: if the refinerycms-page-images extension is also installed, make sure gem refinerycms-blog comes before gem 'refinerycms-page-images'.
Now, run bundle install
Next, to install the blog plugin run:
rails generate refinery:blogRun database migrations:
rake db:migrateFinally seed your database and you're done.
rake db:seedBy default, this extension does not require any particular visual editor. Previously, Refinery was coupled to WYMeditor but this has been extracted to an extension, refinerycms-wymeditor.
If you want to use refinerycms-wymeditor, simply place it in your Gemfile:
gem 'refinerycms-wymeditor', ['~> 1.0', '>= 1.0.6']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.
Generate the dummy application to test against
$ bundle exec rake refinery:testing:dummy_appRun the test suite with Guard
$ bundle exec guard startOr just with rake spec
$ bundle exec rake specTo limit rss feed length, use the 'max_results' parameter
暂无开放 Issues,或尚未同步最近议题。