Skip to content

Instantly share code, notes, and snippets.

@gugat
Last active September 11, 2017 20:39
Show Gist options
  • Select an option

  • Save gugat/d3cb70afcac6dc88a198d569c8ac503f to your computer and use it in GitHub Desktop.

Select an option

Save gugat/d3cb70afcac6dc88a198d569c8ac503f to your computer and use it in GitHub Desktop.
Heroku & Rails configuration and usage

Install and add as remote repo

brew install heroku/brew/heroku
heroku login
cd my-rails-project
git remote add heroku git@heroku.com:my-heroku-project.git

Run migrations

heroku run rake db:migrate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment