update readme

This commit is contained in:
odysseusmax 2020-08-11 07:52:36 +00:00
parent ed488897b1
commit c7eb72905e
2 changed files with 11 additions and 0 deletions

View File

@ -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). | `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. | `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. | `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. * 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) [![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
Contributions are welcome. Contributions are welcome.

View File

@ -19,6 +19,11 @@
"SESSION_STRING":{ "SESSION_STRING":{
"description":"Your session string.", "description":"Your session string.",
"value":"" "value":""
},
"DEBUG":{
"description":"Give some value to set logging level to debug.",
"value":"",
"required": false
} }
}, },
"buildpacks":[ "buildpacks":[