Last active
December 22, 2015 18:09
-
-
Save JackNicholas/6510941 to your computer and use it in GitHub Desktop.
command line steps for deploying to 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
# set up git in local | |
$ cd into-your-app-root-folder | |
$ git init | |
$ git add . | |
$ git commit -m "initial commit" (or using my shortcut, git ci --all -m "initial commit") | |
# set up heroku remote | |
$ heroku create | |
Creating shrouded-reaches-5937... done, stack is cedar | |
http://shrouded-reaches-5937.herokuapp.com/ | git@heroku.com:shrouded-reaches-5937.git | |
Git remote heroku added | |
# verify remotes set up ok | |
$ git remote -v | |
heroku git@heroku.com:shrouded-reaches-5937.git (fetch) | |
heroku git@heroku.com:shrouded-reaches-5937.git (push) | |
$ git push heroku master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment