Sha256: e7323e836add9fd0b887cc66630720288ac02484550006b7e2ccd1442b7cc768

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

# TKH Content

This Rails engine puts the C in CMS. It provides the pages and the blog section. 

Primarily developed for Ten Thousand Hours but we are happy to share if anybody finds it useful.

It's still embryonic but many improvements to come. The blog is not in yet. 



## Pre-requisites


The following things are needed:

* Ruby 1.9.2 or later


## Installation

Add this line to your application's Gemfile:

    gem 'tkh_content', '~> 0.0'

Then execute:

    $ bundle

Import migrations and needed files

		$ rake tkh_content:install

Run the migrations

		$ rake db:migrate
		
And then of course restart your server!

		$ rails s


## Upgrading

Update the gem:

    $ bundle update tkh_content

Update files, migrations, etc. This is only needed with a new minor version number ( second level from left )

		$ rake tkh_content:update
		
Run migrations if there are new ones

		$ rake db:migrate

Start your server!

		$ rails s


## Usage


The section is located at:

    /pages

... and it should work out of the box


## Contributing

Pull requests for new features and bug fixes are welcome.

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Create your failing tests based on the Test Unit framework.
4. Create your code which makes the tests pass.
5. Commit your changes (`git commit -am 'Added some feature'`)
6. Push to the branch (`git push origin my-new-feature`)
7. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tkh_content-0.1 README.md