update readme
This commit is contained in:
parent
ed488897b1
commit
c7eb72905e
|
@ -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.
|
||||||
|
|
5
app.json
5
app.json
|
@ -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":[
|
||||||
|
|
Loading…
Reference in New Issue