Go to file
user 836adaf7b2 dev@locazia: add "confirm tx" message 2024-03-08 22:58:48 +03:00
alembic Initial commit 2024-02-16 13:23:45 +00:00
app dev@locazia: add "confirm tx" message 2024-03-08 22:58:48 +03:00
docs dev@locazia: make deploy blockchain route 2024-03-08 00:35:01 +03:00
locale/en/LC_MESSAGES dev@locazia: add "confirm tx" message 2024-03-08 22:58:48 +03:00
.gitignore dev@locazia: add service wallet 2024-03-01 23:11:42 +03:00
Dockerfile Initial commit 2024-02-16 13:23:45 +00:00
LICENSE Initial commit 2024-02-16 13:23:45 +00:00
README.md Initial commit 2024-02-16 13:23:45 +00:00
docker-compose.yml Locazia: content encryption, indexation, deploy platform 2024-03-07 17:15:44 +03:00
env.example Initial commit 2024-02-16 13:23:45 +00:00
mariadb-healthcheck.sh Initial commit 2024-02-16 13:23:45 +00:00
requirements.txt Locazia: content encryption, indexation, deploy platform 2024-03-07 17:15:44 +03:00

README.md

Sanic Telegram Bot [template]


Run

cd sanic-telegram-bot
# edit .env file
docker-compose up --build

Translations

Adding new language

  1. Update translations keys list from code
touch messages.pot
find app -name '*.py' -exec xgettext --keyword=translated -j -o messages.pot {} +
  1. Move messages.pot to locale/<lang>/LC_MESSAGES/<domain>.po
  2. Compilrequirements.txte .po to .mo
msgfmt ru.po -o ru.mo

Log description

Sources

  1. [SQL] MariaDB
  2. [User, options ] User log
  3. [Bot, options ] Telegram bot