AIzaSyANae0s1I9yJ-sdhy1ghFAg0j4B0Po3AA4
AIzaSyDR7kyOHOKmbWVXV77JH1riDFe3EL67ntY
AIzaSyC5gss4v7v1MUCu4RyEWWXigta_vitTwz8
- Visit github.com/therubyworkshop/stumble_score
- Click ZIP to download project
- Unzip the file
- Rename the folder to
stumble_score
and move it where it'll be easy to find - Open up your terminal
cd /path/to/stumble_score/
gem install json_pure sinatra heroku rack-test
One at a time
ruby test/test_01_cli_greeting.rb
All at once
rake test
./bin/stumble_score 1 Penn Square Philadelphia, PA 19107
ruby lib/web.rb
Visit http://localhost:4567/?address=rittenhouse%20square,%20pa
- Sign up with heroku
- Visit api.heroku.com/signup
- Confirm email
- Create password
- (If you don't have git installed, install the Toolbelt)
gem install heroku
heroku login
git init
heroku create --stack cedar
git commit -a -m 'My web app'
git push heroku master
- Visit goofy URL
- Profit
- Hack
git commit -a -m 'My web app'
git push heroku master