public
Description: cutting edge cms, blog, wiki, forum ...
Homepage: http://artweb-design.lighthouseapp.com/projects/13992-adva_cms/overview
Clone URL: git://github.com/svenfuchs/adva_cms.git
name age message
file .gitignore Mon Sep 29 05:41:01 -0700 2008 Added schema.rb to .gitignore. [clemens]
file MIT-LICENCE Wed Jun 04 13:25:05 -0700 2008 initial commit [svenfuchs]
file README Mon Sep 15 07:53:49 -0700 2008 fix base_helper_spec [svenfuchs]
file Rakefile Wed Jun 04 13:25:05 -0700 2008 initial commit [svenfuchs]
file TODO Sun Aug 03 13:02:56 -0700 2008 fix broken admin site select box [svenfuchs]
directory app/ Wed Jun 04 13:25:05 -0700 2008 initial commit [svenfuchs]
directory config/ Mon Sep 29 08:06:11 -0700 2008 Send notifications to all admins of a site and ... [clemens]
directory doc/ Wed Jun 25 05:17:30 -0700 2008 rename css class requires-role to visible-for [svenfuchs]
directory lib/ Wed Jun 04 13:25:05 -0700 2008 initial commit [svenfuchs]
directory log/ Wed Jun 04 13:25:05 -0700 2008 initial commit [svenfuchs]
directory public/ Wed Sep 24 05:54:05 -0700 2008 Removed ActiveRecord#dom_id extension. [clemens]
directory script/ Mon Sep 15 07:24:01 -0700 2008 fix script/spec script for rspec plugin [svenfuchs]
directory spec/ Mon Oct 06 04:09:35 -0700 2008 Renamed User.find_by_site_and_role to User.by_c... [clemens]
directory stories/ Mon Oct 06 08:10:13 -0700 2008 Integration test for ticket #55 [#55 state:reso... [Marko Seppä]
directory vendor/ Mon Oct 06 04:09:35 -0700 2008 Renamed User.find_by_site_and_role to User.by_c... [clemens]
README
Find out more about adva-cms at: http://adva-cms.org

## Bugs

Our infinitely awesome Lighthouse is at: http://artweb-design.lighthouseapp.com/projects/13992-adva_cms/overview

Please use it :)

## Prerequisites

Rails 2.1

## Installation

* cp config/database.example.yml config/database.yml
* run rake db:migrate:all to setup the database (Sqlite for toying)
* start the server
* visit http://localhost:3000

Optionally tweak config/database.yml (e.g. for MySQL) and run rake db:create, 
then continue as above.

You should be directed to an installation screen. Fill out the form and you're
started.

The forum section type currently does not work, so don't add a forum to your
site.

## Running specs and stories

To run the specs use:

    script/spec -O spec/spec.opts <path>
  
with `<path>` being a directory containing specs, a single spec filename
or a path glob specification like `spec/controllers/blog*`

E.g.

    script/spec -O spec/spec.opts spec # will run all specs
    script/spec -O spec/spec.opts spec/controllers/blog_controller_spec.rb # will run the blog_controller spec
    ruby stories/run.rb stories/stories/*routes* # will run all routes specs


Same thing with the stories, except that you run the stories/run.rb script.
To run the stories use:

    ruby stories/run.rb <path>

with `<path>` being a directory containing stories, a single story filename
or a path glob specification like `stories/stories/blog*`

E.g.

    ruby stories/run.rb stories # will run all stories
    ruby stories/run.rb stories/stories/login.txt # will run the login story
    ruby stories/run.rb stories/stories/blog* # will run all blog stories