From d6b682bb60e9fd6f1ca22d7b9cf5dca6e6cc3be7 Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Wed, 3 Oct 2018 22:13:50 +0530 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bd60e3d..e07a590 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ # PC-Monitor-Bot -A bot intended to check the state of your PC (screenshots and check if locked) \ No newline at end of file +A bot intended to check the state of your PC (screenshots and check if locked) + +# Setup + ++ Install `scrot`, `python3`, `pip3` using your package manager. + + Arch Linux: `sudo pacman -S scrot python python-pip` + + Debian: `sudo apt install python3 python3-pip scrot` ++ Install `python-telegram-bot` + + System-wide installation: `pip3 install python-telegram-bot` + + User installation: `pip3 install --user python-telegram-bot` ++ `git clone https://gitlab.com/ceda_ei/pc-monitor-bot` ++ `cd pc-monitor-bot` ++ Create a bot with [BotFather](https://t.me/BotFather) ++ Copy the sample config file and edit it + + `cp sample.config.py config.py` + + Edit `config.py` using a text editor ++ `python3 bot.py`