A Telegram Bot written in Python (Work-In-Progress)
- Clone this repo and install all requirements:
git clone https://github.com/locvx1234/bot_mdt.git
cd bot_mdt
sudo pip3 install -r requirements.txt
- Run Setup
sudo python3 setup.py install
- Edit tele.conf file and move it to /etc/telegram/
cd etc/
sed -i "s/TETO/Your token/g" tele.conf
sudo mkdir /etc/telebot
sudo mv tele.conf /etc/telebot/
- Install supervisor package
sudo apt install -y supervisor
sudo cp bot_mdt.conf /etc/supervisor/conf.d/
- Start BOT
sudo supervisorctl update
sudo supervisorctl start bot_mdt
====================================
- Preparing environment
- Install docker on Ubuntu or CentOS
curl -fsSL https://get.docker.com | sh
- Build image from Dockerfile
cd bot_mdt
build -t bot_image .
Work-in-process