Skip to content
/ aiogram_v3_template Public template

A scalable template for building Telegram bots using aiogram 3.x and sqlalchemy 2.x

License

Notifications You must be signed in to change notification settings

bodaue/aiogram_v3_template

Repository files navigation

Aiogram Bot Template (v3)

A scalable template for building Telegram bots using aiogram 3.x and sqlalchemy 2.x

Features

System dependencies

  • Python 3.12+
  • Poetry
  • Docker

Installation

Via Docker

  • Set up environment variables (.env)
    • Rename .env.example to .env
    • Configure it
  • Run docker-compose
    docker-compose up -d
    

Via systemd

  • Set up environment variables (.env)
    • Rename .env.example to .env
    • Configure it
  • Install the dependencies:
    poetry install
    
  • Run database migrations
    poetry run alembic upgrade head
    
  • Configure .service file
  • Start service
    systemctl --now enable tgbot.service

About

A scalable template for building Telegram bots using aiogram 3.x and sqlalchemy 2.x

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published