Created
April 14, 2013 16:46
-
-
Save leocosta/5383365 to your computer and use it in GitHub Desktop.
configuring webapp on heroku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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