Skip to content

a fun little Rails app to predict a person's preference for cats or dogs based on their height and weight

Notifications You must be signed in to change notification settings

existenzial/CatDog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CatDog

Code Climate

CatDog

a fun little Rails app to predict whether a person prefers dogs or cats based on their height and weight

Dependencies

  • Ruby 2.3.1

  • Rails 5.0.0.1

Installing CatDog

To install the app:

# Clone down the necessary files:
git clone https://github.com/existenzial/CatDog.git

# Navigate to the newly cloned directory:
cd CatDog

# Install the dependencies
bundle install

Running the Test Suite

Check for migrations and seed your db:

rake db:test:prepare

To run the tests individually:

# Home Controller:
ruby -I. test/controllers/home_controller_test.rb

# People Controller:
ruby -I. test/controllers/people_controller_test.rb

# Person Model:
ruby -I. test/models/person_test.rb

To run all tests:

rake
# or
rake test

Running the App Locally

To run the app:

# Start the server:
rails server

# Navigate to:
http://localhost:3000/

About

a fun little Rails app to predict a person's preference for cats or dogs based on their height and weight

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published