Skip to content

This repository for search work plase, disciple, teacher, employee and partner

Notifications You must be signed in to change notification settings

sarvar-py-dev/UstozShogirtBot

Repository files navigation

Ustoz Shogird telegram bot

Docker Build Status Python

🚀 How to Use

🐳 Running in Docker (recommended method)

  • configure environment variables in .env file

  • start services

    docker compose up -d --build
  • make migrations

    docker compose exec bot alembic upgrade head

🐋 If you want without clone project or without more python codes

  • It's running with docker

  • Your device must be linux and you must be have docker in your terminal

  • Secondly you pulling image ustoz_shogird_bot

      docker pull sarvarpydev/ustoz_shogird_bot
  • Finally write this command (BOT_TOKEN=" " in there should be your bot token)

      docker run --name ustoz_shogird_bot_container -e BOT_TOKEN='' -d sarvarpydev/ustoz_shogird_bot

🌍 What I use in this project

  • i18 used

  • aiogram used

  • aiogram State for queue

  • Docker file

  • Makefile for facilitate some commands

📂 Project Folder Structure

.
├── admin # Source code for admin panel
|   ├── __init__.py
|   └── admin.py
|
├── keyboards # Source code for keyboards 
|   ├── __init__.py
|   └── keyboarsd.py 
|
├── loacals # Locales for changeing language package
|   ├── ru
|   |   └── LC_MESSAGES
|   |   |   ├── messages.mo
|   |   |   ├── messages.po
|   ├── uz
|   |   └── LC_MESSAGES
|   |   |   ├── messages.mo
|   |   |   ├── messages.po
|   └── messages.pot
|
├── routers # routers package for routers
|   ├── __init__.py
|   ├── handler.py
|   ├── send_to_admin.py
|   └── user.py
|
├── .dockerignore
├── .env.example
├── .gitignore
├── config.py
├── Dockerfile # Dockerfile for Telegram Bot
├── main.py
├── Makefile # commands for change language with i18
├── requirements.txt # its for which library i use 
└── README.md # Documentation

🌐 Connect with me:

sarvarbek-davranbekov-3272212a5 https://www.facebook.com/profile.php?id=100081788845272 sarvar_py_dev sarvar_py_dev

About

This repository for search work plase, disciple, teacher, employee and partner

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published