Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.68 KB

README.md

File metadata and controls

59 lines (36 loc) · 1.68 KB

Clover CMS Build Status

A dead simple content management system for Rails 3.

Requirements

Getting Started

To install and run in development:

  1. git clone git://github.com/cloverinteractive/clovercms.git
  2. cd clovercms
  3. bundle install
  4. rake db:migrate db:seed

This part is optional, it will compile and install wymeditor for page editing, you will need make for this.

  1. git submodule init
  2. git submodule update
  3. rake wymeditor:compile

Running the tests

rake spec

Supported platforms

We currently test with:

  • ruby 1.9.2
  • ruby 1.8.7
  • ree

JRuby

We take JRuby into consideration, and our Gemfile works nice with its platforms, but since we can only version one instance, we don't build against it. However you can use clovercms with JRuby by doing the following:

  1. rm -f Gemfile.lock
  2. jruby -S bundle install

Check code metrics

We use metric_fu for code metrics, that said rcov is known to fail when using ruby 1.9, at this moment metrics can only be generated in ruby 1.8.7.

To run code metrics, rake metrics:all

Contribute

Feel free to submit a pull request and don't forget to add your name to the list below.

Contributors