Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (22 sloc) 1.55 KB

Install on Glitch

Initial Setup

  • Go to Glitch
  • And then Sign in.
  • Then create a New Project in Glitch. It can be of any type.
  • Make your project private before doing anything else so that your credentials are safe from others. If you’re not able to do this, ask around in Bastion HQ and some amazing people will help you out.
  • Click on the Logs button (at the top left corner) in your Glitch project. It will open the log window at the bottom, where you can find the Console button. Click on that and you’ll be redirected to your project’s console.
  • Now, before we install Bastion, we’ll need to clear all files from the default project that was automatically created by Glitch. Run the following command in your project’s console to clean everything up:
rm -rf /app/* /app/.* &>/dev/null

Install Bastion

  • First of all, we need install Bastion to your Glitch project. Run the following command to do that (note the . at the end, don't forget that!):
git clone -b stable -q https://github.com/TheBastionBot/Bastion.git .
  • Bastion will now be imported to Glitch in a few seconds.
  • But, when you go to your project editor, you won’t see it. Why? Because Glitch console doesn’t sync with your project editor automatically. To do that, run the following command:
refresh
  • Now when can go back to your project editor, you’ll see that it has been updated.
You can’t perform that action at this time.