Heroku provides simple and scalable infrastructure for your server-side projects. Once deployed, instances of your app are called Dymos, and additional Dymos can be started to cope with increased load.
Deployment to Heroku happens through a remote Git repository; when you are ready to deploy your app, simply push the code to Heroku.
First, visit http://www.heroku.com and sign up for a free account. Next, we will install the Heroku CLI (Command-Line Interface), as this is helpful for interacting with Heroku. Since we installed Homebrew in the previous recipes, we can use it to get the Heroku CLI:
brew install heroku
Next, we need to login to the Heroku CLI with the account that we just created. Run the login command and follow the instructions:
heroku login
We now have our Heroku CLI set up and ready to use.