Answer the question
In order to leave comments, you need to log in
How to install a telegram bot on a host with cPanel?
There is a telegram bot written in python, with an sql database, everything is in one folder, database files too. On the local computer, I run python bot.py through the console and everything works. Bot - pizza order.
How can I also run on hosting? And tell me about the database, also store files in the directory with the bot itself, or is it better to create a database on phpmyadmin ? If you create a database separately, then how can you connect everything later?
I will be grateful for your help!
Answer the question
In order to leave comments, you need to log in
You need to create WebHock with calls from telegrams to the bot, also install python
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question