a fun little Rails app to predict whether a person prefers dogs or cats based on their height and weight
-
Ruby 2.3.1 -
Rails 5.0.0.1
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 installCheck for migrations and seed your db:
rake db:test:prepareTo 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.rbTo run all tests:
rake
# or
rake testTo run the app:
# Start the server:
rails server
# Navigate to:
http://localhost:3000/