add app.json for heroku

This commit is contained in:
odysseusmax 2020-08-10 07:44:31 +00:00
parent a2928f78d6
commit 225ae46eea
2 changed files with 33 additions and 0 deletions

View File

@ -48,6 +48,10 @@ $ pip3 install -U -r requirements.txt
$ 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 are welcome.

29
app.json Normal file
View File

@ -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"
}
]
}