Skip to content

Latest commit

 

History

History
48 lines (42 loc) · 1.52 KB

TESTING.md

File metadata and controls

48 lines (42 loc) · 1.52 KB

How to Test

A. Via Python

  1. Have Python installed.
    Known supported versions are from 3.10 to 3.12.
  2. Install Poetry to manage dependencies.
    You should only need to do this once.
  3. Navigate into your clone of this repo.
  4. Install/Update project dependencies:
    You should only need to do this after new releases.
    poetry install --sync
  5. Activate project dependencies:\
    poetry shell
    After the poetry shell command, you should be in a Poetry-managed environment. Your prompt might be prefixed with the name of the environment.
  6. Serve the docs:\
    mkdocs serve
  7. Open the website at the URL echoed by the program e.g. http://127.0.0.1:8000/.

B. Via Docker

  1. Have Docker installed.
    We recommend doing so via Docker-Desktop.

  2. Navigate into your clone of this repository.

  3. Start the Docker container to serve the docs.

    Using Make:

     make build
     make start

    Or:

     docker compose build
     docker compose up
  4. Open the website at the URL provided e.g. http://localhost:8000/.