précisions
This commit is contained in:
parent
b8dbfd8d2d
commit
a374fba889
1 changed files with 4 additions and 3 deletions
|
@ -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:
|
First we need to create a dedicated network for our containers:
|
||||||
|
|
||||||
On Linux:
|
On Debian-based distro:
|
||||||
```batch
|
```batch
|
||||||
docker network create -d bridge default-kassoubot 2> /dev/null || true
|
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`.
|
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
|
```bash
|
||||||
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
|
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 add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
|
||||||
sudo apt update -y
|
sudo apt update -y
|
||||||
sudo apt install adoptopenjdk-16-openj9 -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.
|
||||||
|
|
Reference in a new issue