Skip to content

SpinaCMS/spina-blog

Repository files navigation

Build Status Code Climate Test Coverage

Spina::Blog

Simple blog engine for Spina CMS. It supports posts and categories.

Usage

How to use my plugin.

Installation

Add this line to your application's Gemfile:

gem 'spina-blog'

And then execute:

$ bundle

And install:

$ rails g spina_blog:install

Or install it yourself as:

$ gem install spina-blog

Add to your Spina theme:

# config/initializers/themes/theme.rb

Spina::Theme.register do |theme|
  # ...
  theme.plugins = ['blog']
end

Contributing

The version of Spina 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 Spina CMS.

Testing

With rake spec

$ bundle exec rake spec

License

The gem is available as open source under the terms of the MIT License.