Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 566 Bytes

README.md

File metadata and controls

19 lines (18 loc) · 566 Bytes

Aiogram3-template

Aiogram 3 template

cp ./docker-compose.dev.yaml ./docker-compose.yaml
cp ./dist.env ./.env
docker compose up --build

Copy dist.env to .env and fill it with your data

i18n

You have to regenerate type hints for i18n after changing locales

i18n -ftl ./app/locales/ru.ftl -stub i18n_stub.pyi

It is needed only for IDE type hints. Don't affect the code

when-changed -1v app/locales/ru.ftl -c i18n -ftl ./app/locales/ru.ftl -stub i18n_stub.pyi

Or you can use this command to regenerate type hints automatically