Heroku

    Assuming that you have an Heroku account ( if you don’t), let’s install the Heroku Client for the command-line using Homebrew.

    The formula might not have the latest version of the Heroku Client, which is updated pretty often. Let’s update it now:

      Login to your Heroku account using your email and password:

      If this is a new account, and since you don’t already have a public SSH key in your ~/.ssh directory, it will offer to create one for you. It will also upload the key to your Heroku account, which will allow you to deploy apps from this computer.

      1. $ ssh-keygen -t rsa

      Keep the default file name and skip the passphrase by just hitting Enter both times. Then, add the key to your Heroku account:

      Once your keys are in place and you are authorized, you’re ready to deploy apps. Heroku has a , which has all the information you need (the one linked here is for Python, but there is one for every popular language). Heroku uses Git to push code for deployment, so make sure your app is under Git version control.

      1. $ cd myapp/
      2. $ git push heroku master
      3. $ heroku ps

      The Heroku Dev Center is where you will find more information.