financial-management-notifications

... # TODO: add description

Stack

RabbitMQ, Redis, AWS SNS

Services

Configuration

Docker containers:

  1. redis

docker-compose files:

  1. docker-compose.yml - for local development.

To run docker containers, you need to create a .env file in the root directory.

.env example:

ENV=.env

Start project:

Locally:

docker compose build
docker compose up

Development

Sync environment with requirements.txt / requirements.dev.txt (will install/update missing packages, remove redundant ones):

make sync-requirements

Compile requirements.*.txt files (have to re-compile after changes in requirements.*.in):

make compile-requirements

Use requirements.local.in for local dependencies; always specify constraints files (-c ...)

Example:

# requirements.local.txt

-c requirements.txt

ipython

Code style:

Configure pre-commit locally:

pre-commit install

Before pushing a commit run all linters:

make lint

Fix some mistakes:

make fix