-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
58 lines (34 loc) · 1.53 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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)