Skip to content

Bot setup

Czechbol edited this page Jun 11, 2020 · 3 revisions

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

Cloning the repository and setting it up:

  • using Docker
  • running it directly

Because running the script directly is problematic, this section describes

  • Setting up docker directly
  • Setting up standalone hosting with nohup

Database maintenance:

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