public
Description: Rails Development Directory
Homepage:
Clone URL: git://github.com/engineyard/rails_dev_directory.git
name age message
file .gitignore Mon Nov 02 13:15:24 -0800 2009 update gitignore [paulca]
file README.textile Wed Oct 14 09:54:58 -0700 2009 update readme to Engine Yard Rails Development ... [Paul Campbell]
file Rakefile Wed Oct 14 09:31:00 -0700 2009 open sourcing railsdevelopment.com [Paul Campbell]
directory app/ Thu Nov 05 16:28:00 -0800 2009 remove plain text password [paulca]
directory config/ Mon Nov 02 11:38:29 -0800 2009 passing / green [paulca]
directory db/ Mon Nov 02 11:38:29 -0800 2009 passing / green [paulca]
directory doc/ Wed Oct 14 09:31:00 -0700 2009 open sourcing railsdevelopment.com [Paul Campbell]
directory features/ Wed Nov 04 04:01:33 -0800 2009 use EXISTS to find a subset of services, rather... [paulca]
directory lib/ Wed Oct 28 04:38:53 -0700 2009 rename technology type to service [paulca]
directory log/ Wed Oct 14 09:31:00 -0700 2009 open sourcing railsdevelopment.com [Paul Campbell]
directory public/ Mon Nov 02 10:32:02 -0800 2009 now we can sort top cities [paulca]
directory script/ Wed Oct 14 09:31:00 -0700 2009 open sourcing railsdevelopment.com [Paul Campbell]
directory spec/ Wed Nov 04 03:32:34 -0800 2009 provider welcome send email [paulca]
directory test/ Wed Oct 14 09:31:00 -0700 2009 open sourcing railsdevelopment.com [Paul Campbell]
directory tmp/ Wed Oct 14 09:31:00 -0700 2009 open sourcing railsdevelopment.com [Paul Campbell]
directory vendor/ Thu Oct 29 11:41:40 -0700 2009 making a start on top_cities [paulca]
README.textile

Engine Yard Rails Development Directory Web Application

Bootstrapping

To get set up, first up, create your MySQL database:

rake db:create

Then run the bootstrap task:

rake bootstrap

The bootstrap task will ask you for a username and password for a regular user that will have ownership of the provider that is created, as well as another user that will have admin rights.

You’ll also need to create a site_config.yml file in the config/ dir. You can start with the example:

cp config/site_config.yml.example config/site_config.yml

Running the unit tests

Create the test database…

rake testing db:create

… and populate it:

rake db:test:clone

Run the tests:

rake spec

or using ZenTest

autospec

Running the cucumber acceptance tests

cucumber features

or add them to your ZenTests:

AUTOFEATURE=true autospec