[Live Demo)[https://sports-team-fines.fly.dev/]
a simple application for tracking games and season fines for a sports team, it can be self-hosted via docker and includes configuration for a fly.io deployment.
Features
- Match, Score & Injury Tracking
- Fine + Player Multi-Select
- Mobile-First for quick entry while discussing fines on the go
- "FineMaster" page for high-level fine/match/season management
Written in go, using templ, a-h/templ and TomSelect (via hx-tomselect)
(using vscode by default)
nix develop .
# pre-commit/deploy
nix develop .#devShells.build
# deploy
nix develop .#devShells.deploy
# or build docker via nix flake:
nix develop .#devShells.dockerBuild
# or via dockerFines<
$ docker build -t baileys-hammer .
$ docker run -p 8080:8080 baileys-hammer
# or build docker via nix flake:
nix develop .#devShells.dockerBuild
fly deploy
TODO:
- Fix 'ADD' Option sizing (too small)
New Setup
- (Create Fly Volume for sqlitedb)
- create fly-XXX.toml file
- add DATABASE_URL to litestream.yml
- set fly.io secrets
fly secrets -c fly-XXX.toml
DB_REPLICA_URL
R2_ACCESS_KEY_ID
R2_SECRET_ACCESS_KEY
R2_BUCKET
- add