mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-07-04 00:41:44 +02:00
427 B
427 B
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.