Files
inventory/README.md
2026-03-26 17:59:56 +11:00

546 B

Python Flask Webserver Template

Python3 website template including git actions

Requirements

  • UV

Development

  1. Install project requirements
uv sync
  1. Run the dev server
uv run python3 server.py
  1. Alternatively use the virtual environment
source .venv/bin/activate

You can exit the environment with deactivate

For best development setup, you should install the git hook for pre-commit

uv run pre-commit install

Production

Run using the main.py file

python3 main.py