notifier/README.md
Untone 62c8d51c5d
Some checks failed
deploy / deploy (push) Failing after 1m9s
init-strawberry
2023-11-26 13:18:57 +03:00

29 lines
651 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# notifier
### Что делает
- сохраняет тех, кому уведомления уже были отправлены (redis: authors-online)
- формирует дайджесты для остальных
- слушает Redis PubSub канал с обновлениями реакций
### Что НЕ делает
- не отправляет сообщения по SSE
- не определяет кому их отправлять
## Как разрабатывать локально
Установить
- Redis
- Postgres
Затем
```shell
poetry install
poetry env use 3.12
poetry run python server.py
```