Saturday, May 10, 2008

Suggestions for setting up a new RoR project

New Project Setup

1) Create Basecamp project
2) Create Code Repository
3) Checkout Code to local machine
4) Create Rails App (rails [appname])
5) Add Rcov plugin to app (ruby script/plugin install http://svn.codahale.com/rails_rcov)
6) Add Rcov CC integration task (http://deadprogrammersociety.blogspot.com/2007/06/cruisecontrolrb-and-rcov-are-so-good.html) and install plugin to ensure build fails if below 100% code coverage (http://www.viget.com/extend/tools-of-the-trade-vl-cruise-control/) (See http://andrewonrails.blogspot.com/2008/04/cruisecontrolrb-and-rcov-ensure-100.html)
7) Checkin Brand New App
8) Add to CruiseControlRB (Cruise add [ProjectName] -u svn://repositorylocation [username] [password])

Done :-)

No comments: