Skip to content
Example application
Ruby JavaScript CSS
Find file
Latest commit 5031ba3 Dec 19, 2013 @cheezy Merge pull request #5 from romgrod/master
Added rake db:migrate and bundle exec mention
Failed to load latest commit information.
app fixed typo. Thanks for pointing it out knorrium Feb 24, 2013
config
db updated seeds to match what is required for asset pipeline Dec 13, 2011
doc Initial checkin Feb 8, 2011
features added cucumber May 1, 2011
lib/tasks added cucumber May 1, 2011
public added examples for writing test with frames and popup windows Aug 5, 2012
script
spec added jasmine but I'm getting a strange error May 1, 2011
test
vendor/plugins Initial checkin Feb 8, 2011
.gitignore
.rspec updated to ruby 1.9, added rspec (and a few spec) and remove the test… May 1, 2011
.rvmrc updated ruby Aug 5, 2012
Gemfile upgraded rails Jan 8, 2013
Gemfile.lock upgraded rails Jan 8, 2013
README Added rake db:migrate and bundle exec mention Dec 18, 2013
Rakefile Initial checkin Feb 8, 2011
config.ru Initial checkin Feb 8, 2011
cucumber.yml added cucumber profiles May 1, 2011

README

== Puppies example application

This is an example application that I am developing to use in an ATDD course as well
as my book.

Once you download (clone) the project you will need to ensure you have all of the necessary gems.  You can do this by executing:

    bundle

in the puppies directlry.  After this command completes you can start the application by executing:

    rails s

This will start the application.  Simply point your browser at http://localhost:3000 and you should see the puppy appliation.

If you would like to populate the database with some sample puppies, you can execute the following commands:

    rake db:seed

    rake db:migrate

This will populate the database with a few sample puppies. You may need run theese commands with bundle exec as:

    bundle exec rake db:seed
    bundle exec rake db:migrate  


Note:  If you had already executed the 'rails s', you may want to stop it by pressing Control-C before you seed the database.
When the rake command completes, execute 'rails s' again to start the server again.
Something went wrong with that request. Please try again.