From c96f98560cc776155211392b0b3228ffb33111f4 Mon Sep 17 00:00:00 2001 From: profitroll Date: Sun, 12 Mar 2023 22:29:53 +0100 Subject: [PATCH] WIP: New readme --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ed5186b..2a9a85b 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,12 @@ To make this bot run at first you need to have a Python interpreter, Photos API, 9. Good to go, run it! Make sure MongoDB and Photos API are running and use `python ./poster.py` to start it. Or you can also use `.\start.bat` on Windows and `bash ./start.sh` on Linux. - Additionally there are `loop.sh` and `loop.bat` available if you want your bot to start again after being stopped or after using `/reboot` command. + Additionally there are `loop.sh` and `loop.bat` available if you want your bot to start again after being stopped or after using `/reboot` command. + +## Tips and improvements + +* It's better to use virtual environments in most of production cases so there's also [a tutorial how to put your bot into venv](https://git.end-play.xyz/profitroll/TelegramPoster/wiki/Configuring-Virtual-Environment) and use it inside the virtual environment; +* You may also want to configure your bot to work as a systemd service instead. There's [a tutorial for that](https://git.end-play.xyz/profitroll/TelegramPoster/wiki/Configuring-Service) in the wiki. If you need any further instructions on how to configure your bot or you had any difficulties doing so - please use [wiki in this repository](https://git.end-play.xyz/profitroll/TelegramPoster/wiki) to get more detailed instructions.