ThatRedKite / thatkitebot

A discord bot written in Python (and C) with image manipulation commands and scientific calculators
MIT License
12 stars 11 forks source link

Update README #122

Open Caraffa-git opened 2 months ago

Caraffa-git commented 2 months ago

Docker installation needs adding their apt repository:

# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

# Add the repository to Apt sources:
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update

Simple sudo apt-get install docker-ce docker-ce-cli containerd.io doesn't work, at least on freshly installed Debian.

Someone who wants to put up a server with a bot should know how to install the docker so it seems to me that the installation instructions are not needed anyway, I guess it should be just written out in the requirements.

EDIT: Also, to run docker-compose it needs to be installed as separate package.

Caraffa-git commented 2 months ago

Adding instructions for docker-compose.debug.yml with some vscode tasks examples would be also a good idea ig