Skip to content

DemocracyClub/ec-postcode-lookup-pages

Repository files navigation

Installation

Requires:

  • Python >= 3.12
  • uv==0.9.* installed globally.
$ uv sync --dev
$ playwright install

Run tests:

$ uv run pytest

Run the service:

$ uv run uvicorn postcode_lookup.app:app --reload

Visit http://127.0.0.1:8000

Updating base templates

We pull HTML, JS and CSS from donor pages on the EC site.

To update these (for example, if there's a change to the design), run:

uv run lib/template_generator/generate_base_template.py

This will update various front end assets in postcode_lookup/static.

See lib/template_generator/README.md for more information about this script.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

Languages