Create virtual environment
python -m venv venv
Activate virtual environment
source venv/bin/activate
Install python dependencies
pip install -r requirements.txt
Local settings
cp settings/local.sample.py settings/local.py
Setup pre-commit hook for Git
ln -s ../../pre-commit.sh .git/hooks/pre-commit
Start databases in Docker
docker-compose up
Start nameko services
nameko run services.timer
nameko run services.campaigns_runner
and etc.
Please read the docs for nameko
Run tests
python -m pytest
Run code quality checks
flake8