-
configure environment variables in
.env
file -
start services
docker compose up -d --build
-
make migrations
docker compose exec bot alembic upgrade head
-
docker pull sarvarpydev/ustoz_shogird_bot
-
docker run --name ustoz_shogird_bot_container -e BOT_TOKEN='' -d sarvarpydev/ustoz_shogird_bot
.
├── 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