Before you can install Bastion in Heroku, you need these in your computer. Install them if you don't already have it.
Go to Heroku and create a new account (or login, if you already have an account).
Open the Command Prompt (Windows) or Terminal (Linux/macOS) and run the following command:
Enter your Heroku credentials as prompted and you will be logged in to Heroku.
First you need to get Bastion in your local computer before you can install it in Heroku. Run the following command to clone Bastion into your computer:
git clone -b stable -q --depth 1 https://github.com/TheBastionBot/Bastion.gitcd Bastion
You also need to create an app in Heroku where you will install Bastion. Run the following command to create an app in Heroku:
Now you can install Bastion in Heroku. Run the following command to deploy Bastion to Heroku:
git push heroku stable:master