#The World’s Best Beverage? Alpha Juice ##Instructions
###First SetUp MYSQL
-
Start MYSQL server in another terminal window
-
Within MYSQL, run “CREATE DATABASE alphasales;”
-
Within MYSQL, run “CREATE DATABASE alphatests;”
###To Check Out the Alpha Juice Hype
*Open website in google chrome. Haven’t tested in IE/Firefox. The site looks best with a medium desktop view width.
-
bundle install/bundle update
-
rake db:migrate
-
rake db:seed —— the seed file will create 107 sales to start out with.
-
rails s
-
fire up localhost:3000
*To demonstrate the live pusher features, please open up the webpage in two browser windows. In the first one, scroll down to the very bottom of the home page. In the other one, make a purchase. The first one should update the total sales and feed live!