Skip to content

Commit

Permalink
Add Heroku Support
Browse files Browse the repository at this point in the history
Signed-off-by: infinity-plus <[email protected]>
  • Loading branch information
infinity-plus committed Mar 12, 2021
1 parent e84d8ce commit 35dd617
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: python3 bot.py
25 changes: 25 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "Telegram Quiz Bot",
"description": "A PTB bot, which can easily be deployed to Heroku.",
"repository": "https://github.com/infinity-plus/telegram_quiz_bot",
"logo": "",
"keywords": ["python", "ptb", "telegram", "python-telegram-bot"],
"image": "heroku/python",
"formation": {
"web": {
"quantity": 1,
"size": "free"
}
},
"env": {
"api": {
"description": "Bot API Key from BotFather https://t.me/BotFather"
},
"sheet1": {
"description": "API key from https://sheet.best"
},
"sheet2": {
"description": "API key from https://sheet.best"
}
}
}
1 change: 1 addition & 0 deletions runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.9.1

0 comments on commit 35dd617

Please sign in to comment.