From c7eb72905ef51eb60235a53d9ffa37d5c9272dd1 Mon Sep 17 00:00:00 2001 From: odysseusmax Date: Tue, 11 Aug 2020 07:52:36 +0000 Subject: [PATCH] update readme --- README.md | 6 ++++++ app.json | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/README.md b/README.md index 97c91ec..7c5e637 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ $ pip3 install -U -r requirements.txt | `SESSION_STRING` (required) | String obtained by running `$ python3 app/generate_session_string.py`. (Login with the telegram account which is a participant of the given channel (or chat). | `PORT` (optional) | Port on which app should listen to, defaults to 8080. | `HOST` (optional) | Host name on which app should listen to, defaults to 0.0.0.0. +| `DEBUG` (optional) | Give some value to set logging level to debug, info by default. * Run app. @@ -52,6 +53,11 @@ $ python3 -m app [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/odysseusmax/tg-index/tree/master) +* Run on repl.it + +[![Run on Repl.it](https://repl.it/badge/github/odysseusmax/tg-index)](https://repl.it/github/odysseusmax/tg-index) + + ## Contributions Contributions are welcome. diff --git a/app.json b/app.json index 7f3e256..f72ffa1 100644 --- a/app.json +++ b/app.json @@ -19,6 +19,11 @@ "SESSION_STRING":{ "description":"Your session string.", "value":"" + }, + "DEBUG":{ + "description":"Give some value to set logging level to debug.", + "value":"", + "required": false } }, "buildpacks":[