mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-06-11 09:44:58 +02:00
Basic Jinja Project
Small starter project that renders HTML with Jinja using Python's built-in HTTP server.
Run
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python3 collector.py
Open http://127.0.0.1:8000/.
Files
collector.pystarts the server and renders templates.templates/base.htmlis the shared layout.templates/index.htmlis the page template.