Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (29 sloc) 1.5 KB

Install on Heroku

{% hint style="warning" %} Bastion stores its data in files on disk. Heroku’s Cedar stack has an ephemeral filesystem. Bastion will work with Heroku, but the data will be cleared periodically by Heroku. If you were to use Bastion on Heroku, you would lose your entire data at least once every 24 hours. {% endhint %}


Before you can install Bastion in Heroku, you need these in your computer. Install them if you don't already have it.

Set up Heroku

  • 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:

    heroku login
  • Enter your Heroku credentials as prompted and you will be logged in to Heroku.

Install Bastion

  • 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
    cd 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:

    heroku create
  • Now you can install Bastion in Heroku. Run the following command to deploy Bastion to Heroku:

    git push heroku stable:master
You can’t perform that action at this time.