public
Fork of svenfuchs/adva_cms
Description: cutting edge cms, blog, wiki, forum ...
Clone URL: git://github.com/TomK32/adva_cms.git
name age message
file .gitignore Tue Jul 15 02:03:14 -0700 2008 Updated .gitignore and README [mseppae]
file MIT-LICENCE Wed Jun 04 13:25:05 -0700 2008 initial commit [svenfuchs]
file README.textile Tue Jul 22 09:11:28 -0700 2008 renamed to textilize it and added paragraph on ... [TomK32]
file Rakefile Wed Jun 04 13:25:05 -0700 2008 initial commit [svenfuchs]
file TODO Sun Jul 20 03:36:02 -0700 2008 export/import themes as zip files [#17 state:re... [svenfuchs]
directory app/ Wed Jun 04 13:25:05 -0700 2008 initial commit [svenfuchs]
directory config/ Sun Jul 20 03:32:34 -0700 2008 adding rubyzip gem [svenfuchs]
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/ Tue Jul 22 06:31:06 -0700 2008 working on forum model design [svenfuchs]
directory script/ Mon Jul 14 06:48:03 -0700 2008 fixing specs for recent merge, unpacked rspec g... [svenfuchs]
directory spec/ Tue Jul 22 06:31:06 -0700 2008 working on forum model design [svenfuchs]
directory stories/ Tue Jul 22 06:31:06 -0700 2008 working on forum model design [svenfuchs]
directory vendor/ Tue Jul 22 10:01:05 -0700 2008 can't see any benefit in unique (real) names. [TomK32]
README.textile

The adva cms grew out of the blogging software mephisto, the forum software beast and the signalwiki.

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

You can either download the latest tarball: http://github.com/svenfuchs/adva_cms/tarball/master Or you can use git: git clone git://github.com/svenfuchs/adva_cms.git

  • cp db/database.example.yml db/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 perfectly, so don’t add a forum to your site.

Upgrading

If you are using git you can do (after the backup) simple `git pull`. Then you must run `rake db:migrate:all`

Running specs and stories

To run the specs use:

script/spec -O spec/spec.opts 

with `` 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 

with `` 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