Skip to content

A content management extension for Rails, unobtrusively adding static (page) and dynamic (post) content retrieval and management

License

Notifications You must be signed in to change notification settings

jamesbrooks/hush_cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Chris GooleyChris Gooley
Chris Gooley
and
Chris Gooley
Apr 19, 2010
536e0f9 · Apr 19, 2010
Oct 28, 2008
Apr 15, 2009
Apr 24, 2009
Apr 15, 2009
Aug 25, 2008
Aug 18, 2008
Oct 29, 2008
Aug 19, 2008
Apr 19, 2010
Aug 19, 2008

Repository files navigation

Hush CMS
=======

A content management extension for Rails, unobtrusively adding static (page) and dynamic (post) content retrieval and management.
Test

Requirements
=======

haml
paperclip
tiny_mce (check out http://github.com/kete/tiny_mce)

will_paginate (not required but strongly recommended, but will enhance post navigation functionality)
chronic       (not required but enhanced time parsing for the calendar)

Example
=======

* Install Hush CMS, paperclip and TinyMCE

  script/plugin install git://github.com/JamesBrooks/hush_cms.git
  script/plugin install git://github.com/thoughtbot/paperclip.git
  script/plugin install git://github.com/kete/tiny_mce.git


* Perform TinyMCE post-installation scripts installation

  rake tiny_mce:scripts:install


* Follow the instructions and edit config/hush.yml, as well as ensuring haml is installed


* Generate migrations for CMS models (and migrate)

  script/generate hush_cms migrations
  rake db:migrate


* Add a route for CMS pages and admin in config/routes.rb, e.g.

  ActionController::Routing::Routes.draw do |map|
    map.hush_cms_pages 'pages'
    map.hush_cms_posts 'posts'
    map.hush_cms_admin 'admin/cms'

    ...
  end

  
* Done! (More documentation to come once page administration is complete, as well as posts/categories and comments).


Copyright (c) 2008 James Brooks, Good Dog Design ([email protected]), released under the MIT license

Using icons (Silk Icon Set) created by Mark James (famfamfam.com)
Using icons (File Icons v2) created by Jordan Michael (Jordan-Michael.com)

About

A content management extension for Rails, unobtrusively adding static (page) and dynamic (post) content retrieval and management

Resources

License

Stars

Watchers

Forks

Packages

No packages published