Update Installation instructions

This commit is contained in:
Dragon Fire
2024-03-31 01:12:50 -04:00
parent 40d641092e
commit 086ea4017a
+13 -12
View File
@@ -16,18 +16,19 @@ Just read `LICENSE.md`. Give credit if you use any part of this monster, thanks.
8. [Follow these instructions to install the dependencies for `node-canvas`](https://github.com/Automattic/node-canvas/wiki/Installation%3A-Ubuntu-and-other-Debian-based-systems).
9. Run `apt install liblqr-1-0-dev liblqr-1-0` to install liblqr (needed for ImageMagick).
10. [Follow these instructions to install ImageMagick](https://www.tecmint.com/install-imagemagick-on-debian-ubuntu/).
11. [Follow these instructions to set up Redis](https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-redis-on-ubuntu-18-04). Remember to set up a password!
12. Run `apt install libtool` so sodium can compile if necessary. **(Optional)**
13. Download [the NSFW model](https://github.com/gantman/nsfw_model) and extract the contents to `<xiao folder>/tf_models/nsfw`.
14. Run `apt install wine` to install wine.
15. Run `dpkg --add-architecture i386` to allow installation of wine32.
16. Run `apt update` again.
17. Run `apt install wine32` to install wine32.
18. Run `apt install xvfb` to install xvfb.
19. Run `npm i --omit=dev` in the folder you cloned the bot.
20. Run `npx parse-domain-update` to update the domain list for `parse-domain`.
21. Run `npm i -g pm2` to install PM2.
22. Run `pm2 start Xiao.js --name xiao` to run the bot.
11. Run `apt install gm` to install GraphicsMagick.
12. [Follow these instructions to set up Redis](https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-redis-on-ubuntu-18-04). Remember to set up a password!
13. Run `apt install libtool` so sodium can compile if necessary. **(Optional)**
14. Download [the NSFW model](https://github.com/gantman/nsfw_model) and extract the contents to `<xiao folder>/tf_models/nsfw`.
15. Run `apt install wine` to install wine.
16. Run `dpkg --add-architecture i386` to allow installation of wine32.
17. Run `apt update` again.
18. Run `apt install wine32` to install wine32.
19. Run `apt install xvfb` to install xvfb.
20. Run `yarn install --production` in the folder you cloned the bot.
21. Run `npx parse-domain-update` to update the domain list for `parse-domain`.
22. Run `npm i -g pm2` to install PM2.
23. Run `pm2 start Xiao.js --name xiao` to run the bot.
## Commands
Total: 509