Skip to content

ComfortableMexicanSofa is a powerful CMS Engine for Ruby on Rails 3 applications

License

Notifications You must be signed in to change notification settings

chrisobdam/comfortable-mexican-sofa

 
 

Repository files navigation

ComfortableMexicanSofa (Rails 3 CMS Engine)

Build Status Dependency Status

ComfortableMexicanSofa is a powerful CMS Engine for your Rails 3 applications.

Features

Installation

Add gem definition to your Gemfile:

gem 'comfortable_mexican_sofa'

Then from the Rails project's root run:

bundle install
rails generate comfy:cms
rake db:migrate

When upgrading from the older version please take a look at Upgrading ComfortableMexicanSofa

Quick Start Guide

After finishing installation you should be able to navigate to http://yoursite/cms-admin

Default username and password is 'username' and 'password'. You probably want to change it right away. Admin credentials (among other things) can be found and changed in the cms initializer: /config/initializers/comfortable_mexican_sofa.rb

Before creating pages and populating them with content we need to create a Site. Site defines a hostname, content path and it's language.

After creating a Site, you need to make a Layout. Layout is the template of your pages; it defines some reusable content (like header and footer, for example) and places where the content goes. A very simple layout can look like this:

<html>
  <body>
    <h1>{{ cms:page:header:string }}</h1>
    {{ cms:page:content:text }}
  </body>
</html>

Once you have a layout, you may start creating pages and populating content. It's that easy.

For more information please see Wiki pages.

Sofa's Page Edit View


ComfortableMexicanSofa is released under the MIT license

Copyright 2009-2011 Oleg Khabarov, The Working Group Inc

About

ComfortableMexicanSofa is a powerful CMS Engine for Ruby on Rails 3 applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published