Adding info on how install Java

This commit is contained in:
Mylloon 2021-08-15 14:53:04 +02:00
parent d35af5e914
commit 90796f6085

View file

@ -61,4 +61,12 @@ 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/) :
```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
```
Simply run `start.bat` if you are on Windows or `start.sh` if on Linux inside the `src` folder to launch the bot. Simply run `start.bat` if you are on Windows or `start.sh` if on Linux inside the `src` folder to launch the bot.