Skip to content

blazingcloud/driveless

Repository files navigation

== Drive Less Challenge == 


(c) Drive Less Challenge, a Project of Menlo Park Green Ribbon Citizens' Committee


== Volunteers

 Please fork repo

Installation
============

git clone [email protected]:blazingcloud/driveless.git
Create gemset: ree-1.8.7-2011.03@driveless
bundle install
copy database.sample-mac.yml to database.yml and use edit :
     1 development:
     2	  adapter: sqlite3
     3	  encoding: utf8
     4	  database: dlc_development

rake db:create
rake db:migrate
rake db:seed

== Testing ==

rake db:test:prepare
RAILS_ENV=test rake db:seed
bundle exec rspec spec

rake spec # This won't work; Rake task clears the database but does not run seed it

== Running the Server ==

rails server