Skip to content

Instantly share code, notes, and snippets.

@hzla
hzla / gist:8718235
Created January 30, 2014 20:41
Deploying to Heroku
1. cd into root directory of app you want to push
2. add a Procfile if you haven't already, it tells heroku how to run your app
2. initialize a new git repsitory ( git init)
3. add the files in the git repository ( git add .)
4. commit the files in the git repository (git commit )
5. login to heroku if you haven't already (heroku login)
6. create a new heroku app (heroku create)
7. push from your current branch to heroku (git push heroku YOUR_BRANCH)
8. run any necessary app migrations (heroku run rake MIGRATION_NAME)
9. if anything fails, look in the heroku logs, google the errors and try again
@hzla
hzla / 0.2.1-boggle_class_from_methods.rb
Created November 12, 2013 08:45 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1 boggle class challenge
class BoggleBoard
#your code here
end
dice_grid = [["b", "r", "a", "e"],
["i", "o", "d", "t"],
["e", "c", "l", "r"],