Skip to main content

Repository: govuk-ai-graph-tools

Ownership
#publishing-classification-systems-metadata owns the repo. #publishing-csm-alerts receives automated alerts for this repo.
Category
AI apps

README

TODO: Fill in project description

Local Setup


Prerequisites

  • Python 3.13 - managed via uv
  • uv — Python package manager

Install uv if not already installed:

brew install uv

or

pip install uv


1. Install dependencies

uv init --python 3.13
uv python pin 3.13
uv add -r requirements.txt

2. Run the app

Debug mode (Flask dev server):

uv run app.py

Production mode (Waitress WSGI server):

uv run waitress-serve --port 3000 --call 'app:create_app'

The app runs on http://localhost:3000.


3. Docker run

Build and run using Docker:

docker build -t govuk-ai-graph-tools-app .

docker run -p 3000:3000 -t govuk-ai-graph-tools-app


Tests

uv run pytest

Licence

MIT LICENCE