Skip to content

Instantly share code, notes, and snippets.

@bitfidget
Last active August 29, 2015 13:57
Show Gist options
  • Save bitfidget/9755453 to your computer and use it in GitHub Desktop.
Save bitfidget/9755453 to your computer and use it in GitHub Desktop.
RAAAAAAaaaahhhh to heroku/git
  1. update database YML file with

production: adapter: postgresql encoding: unicode database: whatsat_production pool: 5 password:

  1. remove unneeded gems
  2. bundle
  3. resubmit all to github
  4. heroku login
  5. heroku create --addons heroku-postgresql
  6. heroku pg
  7. git push heroku master

that's ya files done, now the DB:

  1. heroku run rake db:migrate
  2. heroku run rake db:seed
  3. heroku open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment