Imagine if we could scale up our applications from our company chatroom? Or maybe even from our own custom admin panel? This is possible by integrating with the Heroku API. In this recipe, we'll be introduced to managing processes with the Platform API gem. This will give us the start we need to write our own code to handle scaling our Heroku applications.
Be sure to complete the previous recipe before attempting this one.
Let's get started by opening up a terminal and navigating to our
heroku-api-examples directory. Then, we can perform the following steps:
$ ruby console.rb