V
V
Vladislav Ignatiev2018-03-09 07:55:52
Python
Vladislav Ignatiev, 2018-03-09 07:55:52

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

1 answer(s)
A
Alexyz Canson, 2018-12-01
@vladislavignatyev

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 question

Ask a Question

731 491 924 answers to any question