Sha256: d2fdf179b1ce21ab02595c0607996784da38bfcd811a8d98fc96605bb0851d3e

Contents?: true

Size: 1.51 KB

Versions: 5

Compression:

Stored size: 1.51 KB

Contents

= Tiny CMS

Is a minimal CMS Rails Engine or more likelly a "static" pages manager. 
Pages can be created, deleted, edited and arranged into sections using a file tree like interface courtesy of jQuery tree (http://jstree.com).

It attempts to be as minimal, flexible and unobtrusive as posible leaving a lot of functionality like templating languages
and authentication/authorization for page creation, deletion and editing for the Rails app developer to implement.

== Dependencies 

- jQuery
- ActiveRecord

== Installation

    $ [sudo] gem install tiny_cms

== Usage

- Configure in your app:
    config.gem 'tiny_cms'

- Run the tiny_cms_assets generator, this will copy jquery-1.4.1, jquery-tree, a minimal version of jquery-ui
and tiny_cms.js and some stylesheets to your app's public folder and a locale file to config/locales:
    
    $ script/generate tiny_cms_assets
    
- Run tiny_cms generator passing a resource name to generate model, controller and migration files and write the routes:
    
    $ script/generate tiny_cms page
    
- Run the migrations
    
- If you wan't to customize the views or use a templating language you can copy the views to your app:
    
    $ script/generate tiny_cms_views
   
- In your application layout or the layout for the resource you created include jquery and the tiny_cms.js file:

    <%= javascript_include_tag 'jquery-1.4.2.min' %>
    <%= javascript_include_tag 'tiny_cms' %>
    
- visit /pages of your app
    

== Copyright

Copyright (c) 2010 Macario Ortega. See LICENSE for details.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tiny_cms-0.2.2 README.rdoc
tiny_cms-0.2.1 README.rdoc
tiny_cms-0.2.0 README.rdoc
tiny_cms-0.1.1 README.rdoc
tiny_cms-0.1.0 README.rdoc