From 35dd617dec566bc62c56a5428ee6eeb2922b4d21 Mon Sep 17 00:00:00 2001 From: infinity-plus Date: Fri, 12 Mar 2021 23:47:10 +0530 Subject: [PATCH] Add Heroku Support Signed-off-by: infinity-plus --- Procfile | 1 + app.json | 25 +++++++++++++++++++++++++ runtime.txt | 1 + 3 files changed, 27 insertions(+) create mode 100644 Procfile create mode 100644 app.json create mode 100644 runtime.txt diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..ab94349 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: python3 bot.py \ No newline at end of file diff --git a/app.json b/app.json new file mode 100644 index 0000000..a01bfd4 --- /dev/null +++ b/app.json @@ -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" + } + } +} \ No newline at end of file diff --git a/runtime.txt b/runtime.txt new file mode 100644 index 0000000..d66fd40 --- /dev/null +++ b/runtime.txt @@ -0,0 +1 @@ +python-3.9.1 \ No newline at end of file