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 install
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
To run the app:
# Start the server:
rails server
# Navigate to:
http://localhost:3000/