précisions

This commit is contained in:
Mylloon 2021-08-16 22:38:39 +02:00
parent b8dbfd8d2d
commit a374fba889

View file

@ -10,7 +10,7 @@ With a [docker-compose](https://gitlab.com/ConfrerieDuKassoulait/KassouBot/-/blo
First we need to create a dedicated network for our containers:
On Linux:
On Debian-based distro:
```batch
docker network create -d bridge default-kassoubot 2> /dev/null || true
```
@ -71,12 +71,13 @@ If you want to run it without Docker, clone the repo (and his submodules by doin
Install all the requirements by doing `python3 -m pip install -r requirements.txt`.
If you need to install Java, there is some step to have the same as the [Docker image built for the project](https://gitlab.com/ConfrerieDuKassoulait/lavalink/) :
If you need to install Java, there is some step to have the same as the [Docker image built for the project](https://gitlab.com/ConfrerieDuKassoulait/lavalink/), on Debian-based distro:
```bash
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
sudo apt update -y
sudo apt install adoptopenjdk-16-openj9 -y
```
On Windows just go [to their site](https://adoptopenjdk.net/?variant=openjdk16&jvmVariant=openj9).
Simply run `start.bat` if you are on Windows or `start.sh` if on Linux inside the `src` folder to launch the bot.
Then, simply run `start.bat` if you are on Windows or `start.sh` if on Debian-based distro to launch the bot.