Skip to content

Instantly share code, notes, and snippets.

@leocosta
Created April 14, 2013 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leocosta/5383365 to your computer and use it in GitHub Desktop.
Save leocosta/5383365 to your computer and use it in GitHub Desktop.
configuring webapp on heroku
#install heroku toolbelt
$ wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
#login
$ heroku login
#upload your public key to heroku
$ ssh-keygen -t rsa -C "your_email@youremail.com"
$ heroku keys:add ~/.ssh/id_rsa.pub
#start repository
$ cd app
$ git init
#commit files
$ git add .
$ git commit -m "added app files"
#create heroku website
$ heroku create
#push to heroku
$ git push heroku master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment