diff --git a/Readme.md b/Readme.md index e36db6a..aa14563 100644 --- a/Readme.md +++ b/Readme.md @@ -49,7 +49,7 @@ docker run \ -v /path/to/media:/path/to/media \ -e TOKEN="" \ -e PASS="change_me" \ - -e QURL=":" \ + -e QURL="http://:" \ -e QUSER="" \ -e QPASS="" \ -e LANG="YOUR_LANG" \ @@ -71,7 +71,7 @@ services: environment: TOKEN: "" PASS: "change_me" - QURL: ":" + QURL: "http://:" QUSER: "" QPASS: "" LANG: "" @@ -80,6 +80,46 @@ services: ```bash docker compose up -d ``` + +--- + +![](https://cloud.orudo.ru/apps/files_sharing/publicpreview/ffSABnXQ3cQrLZG?file=/&fileId=23851&x=1920&y=1200&a=true&etag=d2d4704b2ab90afe5edee647a19a5540) + +## Run natively: +### 1. Install deps: +- python3 +- py3-pip + +### 2. Install TeleBot lib: +```bash +pip install telebot +``` + +### 3. Set system ENV +```bash +# Linux +export TOKEN="YOUR_BOT_TOKEN" +export PASS="change_me" +export QURL="http://:" +export QUSER="" +export QPASS="" +export LANG="" + +# Windows PS +set TOKEN="YOUR_BOT_TOKEN" +set PASS="change_me" +set QURL="http://:" +set QUSER="" +set QPASS="" +set LANG="" +``` + +#### 3.1 On windows change PATH var in `db.py` + +### 4. Run +```bash +python3 bot.py +``` --- ### Available languages: diff --git a/docker-compose.yml b/docker-compose.yml index b7c9aa6..0379d86 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: environment: TOKEN: "" PASS: "change_me" - QURL: ":" + QURL: "http://:" QUSER: "" QPASS: "" LANG: ""