Update installation instructions

It appears libstb and zxing-cpp are required (for the QR module), but were not included in the dependencies.
This commit is contained in:
geni 2020-08-13 04:34:20 +03:00 committed by GitHub
parent b8527067d9
commit 5c81bfbf42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -11,13 +11,14 @@ You can invite the bot to your server using this link: https://projectlounge.pw/
A command list can be found [here](https://projectlounge.pw/esmBot/help.html).
The bot is only supported on Linux/Unix-like operating systems. If you want to run it locally for testing purposes, you should install ImageMagick (version >=7), FFmpeg, PostgreSQL, and the Microsoft core fonts:
The bot is only supported on Linux/Unix-like operating systems. If you want to run it locally for testing purposes, you should install ImageMagick (version >=7), FFmpeg, PostgreSQL, libstb and the Microsoft core fonts:
```shell
# On most Debian/Ubuntu-based distros you will need to build ImageMagick from source instead of installing from apt/similar package managers.
# Instructions to do so can be found here: https://imagemagick.org/script/install-source.php
sudo apt-get install imagemagick ffmpeg postgresql ttf-mscorefonts-installer
sudo apt-get install imagemagick ffmpeg postgresql ttf-mscorefonts-installer libstb-dev
```
You'll also need to build and install [zxing-cpp](https://github.com/nu-book/zxing-cpp) from source.
After that, you should install the rest of the dependencies using npm: