The first step to deploy our application is to create a free account on Heroku Cloud Service:
Go to https://signup.heroku.com/ and create a free account.
Download the Heroku toolbelt for your platform at https://toolbelt.heroku.com/.
Follow the installation process for your platform.
Now you must have the Heroku toolbelt on your machine, to test it.
Open the terminal/shell and type the following command:
heroku --help
The terminal output lists all the possible things to do with Heroku CLI.
Tip
The book assumes that you already have git source control installed on your machine; if you don't it have yet, check out this page: https://git-scm.com/downloads.
Now we will create an application and send it to your newly created Heroku account:
Create a file called .Procfile and save it at the root project folder.
Paste the following code into the .Procfile file:
web: slc run
Open the terminal/shell and type the following command:
git init
The...