Deployed
Softball Pulp
Auto-generate your softball lineup using linear programming and PuLP.
TODO these following sections should become standard and be included in all “App” pages.
Tech Stack
- Pug Templating
- HTML / CSS / JavaScript
- Python
- Flask
- Podman
- NGINX
Architecture
- VPS
- DNS
- NGINX reverse proxy
- Containerized app
Challenges
- Did not love using server-side rendering and templating for this. Some pages ended up holding client-side state which was clunky.
Learnings
- This particular linear programming solution could scale well beyond 100’s of parameters.
- Documenting even a simple web app is time consuming.
- How to build SVGs with Figma
For the Future
- Put all data from final results page into URL so that link is easily shareable with team.
- Allow setting of configuration parameters before optimization.
- e.g., All male team.
- e.g., Different “equal play” ratios or constraints.
- e.g., Different league rules.