Skip to content

gef3dx/tg-bot

Repository files navigation

alt text

Tg-Bot Шаблон

** 📢 Стартовый шаблон telegram bot by gef3dx

Как установить

Способ 1
  • 👉 Клонируйте репозиторий
git clone https://github.com/gef3dx/tg-bot.git
  • 👉 Перейдите в папку
cd tg-bot
  • 👉 Устанавливаем Docker и Docker-compose
  • 👉 Собираем проект
docker-compose build
  • 👉 Запускаем проект
docker-compose up
  • 👉 Для остановки
docker-compose down
Способ 2
  • 👉 Клонируйте репозиторий
git clone https://github.com/gef3dx/tg-bot.git
  • 👉 Перейдите в папку
cd tg-bot
  • 👉 Создайте виртуализацию VENV
python -m venv venv
  • 👉 Установите зависимости requirements
pip install -r requirements.txt
  • 👉 Создайте файл .env и запишите в него TG_TOKEN = "token"
  • 👉 Запустите файл main.py в Python 3.11 или новее

Tg-Bot temlate

** 📢 Start tempate telegram bot by gef3dx

How to install

Method 1
  • 👉 Сlone repository
git clone https://github.com/gef3dx/tg-bot.git
  • 👉 go to the pack
cd tg-bot
  • 👉 Install Docker and Docker-compose
  • 👉 Build project
docker-compose build
  • 👉 Run project
docker-compose up
  • 👉 Stop project
docker-compose down
Method 2
  • 👉 Сlone repository
git clone https://github.com/gef3dx/tg-bot.git
  • 👉 go to the pack
cd tg-bot
  • 👉 Create VENV
python -m venv venv
  • 👉 Install requirements
pip install -r requirements.txt
  • 👉 Create file .env and write two variables TG_TOKEN = "token"
  • 👉 Run file main.py in Python 3.11 or older

About

tempate bot telegram

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors