Home - sinus-x/rubbergoddess GitHub Wiki

Rubbergoddess is an independent discord.py bot used on VUT FEKT discord server.

Home

This wiki describes steps neccesary to create environment for the bot. Use project's Github Pages to learn about the usage.

Preparing the system

Before cloning the repository, you should set up an linux account on your server, in order to have clean workspace:

  • Creating the user
  • Installing essential tools
  • Setting up firewall
  • Allowing privileged commands
  • Setting up command aliases

Setting up

Cloning the repository and setting it up:

  • Docker version
  • systemd version

Hosting

Because running the script directly is problematic, this section describes

  • Setting up systemd service for docker
  • Setting up systemd directly
  • Setting up docker directly
  • Setting up standalone hosting with nohup

Database

Database maintenance:

  • Opening Postgres shell
  • Backing up
  • Setting up automatic backups

Tips

  • Webhooks with CURL
  • How to fully backup the Raspberry Pi SD card