Files
python-webserver-template/README.md
Nathan Woodburn 11efb6f09c
All checks were successful
Build Docker / BuildImage (push) Successful in 35s
Check Code Quality / RuffCheck (push) Successful in 44s
feat: Update readme
2025-11-20 17:48:36 +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