add app.json for heroku
This commit is contained in:
parent
a2928f78d6
commit
225ae46eea
|
@ -48,6 +48,10 @@ $ pip3 install -U -r requirements.txt
|
||||||
$ python3 -m app
|
$ python3 -m app
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* Deploy to heroku.
|
||||||
|
|
||||||
|
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/odysseusmax/tg-index)
|
||||||
|
|
||||||
## Contributions
|
## Contributions
|
||||||
|
|
||||||
Contributions are welcome.
|
Contributions are welcome.
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
"name": "Telegram Index",
|
||||||
|
"description": "Telegram index",
|
||||||
|
"repository": "https://github.com/odysseusmax/tg-index",
|
||||||
|
"keywords": ["telegram", "index"],
|
||||||
|
"env": {
|
||||||
|
"CHAT_ID": {
|
||||||
|
"description": "Id of the telegram channel (or chat) to be indexed.",
|
||||||
|
"value": ""
|
||||||
|
},
|
||||||
|
"SESSION_STRING": {
|
||||||
|
"description": "Your session string",
|
||||||
|
"value": "",
|
||||||
|
},
|
||||||
|
"API_ID": {
|
||||||
|
"description": "Your API_ID. Refer project docs.",
|
||||||
|
"value": ""
|
||||||
|
},
|
||||||
|
"API_HASH": {
|
||||||
|
"description": "Your API_ID. Refer project docs.",
|
||||||
|
"value": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"buildpacks": [
|
||||||
|
{
|
||||||
|
"url": "heroku/python"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue