- Create a copy of
.env.example.docker
in the repository root directory and name it.env
- Update the values in
.env
as needed - Build and run the docker image by executing
docker build --rm -t ri-topics:latest . docker run --rm -it --env-file .env -p 8888:8888 ri-topics:latest
- Install the Anaconda python runtime
- Create the python environment with
conda env create -f environment.yml
or update an existingri-topics
environment to match remote dependency changes by executing
conda env update -f environment.yml --prune
- Activate the conda environment
conda activate ri-topics
- Create a copy of
.env.example.local
in the repository root directory and name it.env
- Update the values in
.env
as needed - Run the service
python main.py
To generate the SonarQube coverage-reports/coverage.xml
as well as the user friendly HTML report in coverage-reports/html
, run
python -m pytest --cov=. --cov-report=xml --cov-report=html