This project includes a build step to create a static web dashboard that can be hosted on Netlify or any static hosting service.
The build_web_dashboard.py script:
- Reads all results data from the
results/directory - Embeds the data directly into the HTML as JavaScript
- Creates a static version of the dashboard that works without a server
- Outputs to
dist/index.html- a single file that can be opened in any browser
python build_web_dashboard.pyThis creates:
dist/index.html- The complete static dashboard- All results data embedded as JavaScript
- No server required - just open the HTML file!
- Push your repo to GitHub
- Connect to Netlify
- Set build command:
python build_web_dashboard.py - Set publish directory:
dist - Deploy!
- Run the build script
- Upload
dist/index.htmlto any web server - Done!
- Dynamic dashboard: Use
python dashboard/server.pyfor local development - Static dashboard: Run build script and open
dist/index.html
- ✅ No dependencies: Just HTML, CSS, and JavaScript
- ✅ Self-contained: All data embedded in the HTML file
- ✅ Fast loading: No API calls needed
- ✅ Easy hosting: Works on any static hosting service
- ✅ Auto-updating: Rebuild when you have new results
- The
dist/folder is gitignored - it's generated content - The build script preserves all existing functionality
- Charts, sorting, and filtering all work in the static version
- No changes to your existing dashboard code