Answer the question
In order to leave comments, you need to log in
How to deploy a telegram bot on Heroku?
I wrote a telegram bot with the pyTelegramBotAPI library, and decided to deploy it to Heroku using git, entered all the commands in the root directory of the bot
git init
git add .
git commit -m "First release"
heroku create nakrutkasub
git remote -v
git push heroku mastercmd freezes for a few minutes, and gives this:
fatal: unable to access ' https://git.heroku.com/nakrutkasub.git/ ': Failed to connect to git.heroku.com port 443 after 262510 ms: Timed out
Answer the question
In order to leave comments, you need to log in
Use a more convenient alternative: go to your application page, Deploy
select GitHub in the section, find your repository in the list, and you can also set autodeploy when pushing to the master.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question