Shoe Retailer Database is a web app used to track brands of shoes and where they are sold. This project is an assignment focussing on developing applications using ActiveRecord and Sinatra, built with Ruby. The schema contains a many to many relationship between shoes table and stores table.
Ruby
Bundler
Postgres
- Clone, or download repo
- Run Postgres
- if Postgres is not currently running, enter the command
$ postgresinto your shell environment - if Postgres is not installed enter
$ gem install postgresinto your shell environment
- if Postgres is not currently running, enter the command
- Once you've confirmed that Postgres is running, in your shell environment navigate to the folder containing the cloned repo and enter the following commands:
$ bundle install$ rake db:create$ rake db:migrate$ ruby app.rb(you should see a message alerting you that the Sinatra server is now running!)
- In your bowser, navigate to localhost:4567
Set up and installation resources and help:
Running postgres
Using rake
Using sinatra
For issues specific to this project, please contact me directly.
- Ruby
- ActiveRecord
- Sinatra
- HTML, CSS, Jquery
Sean Pierce
sumler.sean@gmail.com
License MIT
Copyright © Sean Pierce