Skip to content

NHSDigital/lung_cancer_screening

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lung Cancer Screening

This service is a digital version Lung Cancer Screening questionnaire and risk calculator.

Table of Contents

Prerequisites

The following software packages, or their equivalents, are expected to be installed and configured:

  • Docker container runtime or a compatible tool, e.g. Podman,
  • GNU make 3.82 or later
  • asdf version manager for managing tool versions (ensure asdf is configured in your shell)

Setup

  1. Copy the environment file:

    cp .env.example .env
  2. Setup the pre-commit hooks and install dependencies:

    make config

    Note: If you encounter Python installation issues on macOS, you may need to install Python with SSL flags:

    CFLAGS="-I$(brew --prefix openssl@3)/include" \
    LDFLAGS="-L$(brew --prefix openssl@3)/lib" \
    PKG_CONFIG_PATH="$(brew --prefix openssl@3)/lib/pkgconfig" \
    asdf install python 3.13.7

Running the app locally

The project runs locally inside docker. Please ensure you have docker installed.

Apply the database migrations:

make dev-migrate

Run the application:

make dev-run

Testing

There are make tasks for you to configure to run your tests. Run make test to see how they work. You should be able to use the same entry points for local development as in your CI pipeline.

Contributing

  • Make sure you have pre-commit running so that pre-commit hooks run automatically when you commit - this should have been set up automatically when you ran make config.
  • Consider switching on format-on-save in your editor (e.g. Black for Python)

Licence

Unless stated otherwise, the codebase is released under the MIT License. This covers both the codebase and any sample code in the documentation. See LICENCE.md.

Any HTML or Markdown documentation is © Crown Copyright and available under the terms of the Open Government Licence v3.0.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors 7