Install heroku by simply running the following in the command line (mac terminal).
brew install heroku/brew/heroku
Once the installation is complete you can login by:
Then you can push your existing repo to heroku:
git push heroku master
If you get the following error:
Then you are probably missing the link to your app in heroku. Add the Heroku Git URL by:
git remote add heroku "HerokuURL"
with your app URL that you can find at Heroku > You App > Settings > Info.
Run push heroku command again and vola, the repo is deployed to Heroku.