From f596b7ee193f852ceecca1f3277a79feee477f09 Mon Sep 17 00:00:00 2001 From: SowinskiBraeden Date: Sun, 15 Mar 2026 14:28:16 -0700 Subject: [PATCH] tidy messages and stuff --- README.md | 33 ++++++--------------------------- templates/admin_dashboard.html | 11 +++-------- templates/session_detail.html | 2 +- 3 files changed, 10 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index a8b29e4..28bb573 100644 --- a/README.md +++ b/README.md @@ -8,16 +8,15 @@ A small server-rendered poker ledger app for low-stakes no-limit hold'em nights. - Flask - Jinja templates - Chart.js -- Custom CSS - Append-only CSV event ledger -## What this MVP does +## Stuff is does -- Public all-time leaderboard -- Public session archive -- Public per-player stat pages -- Admin-only login for adding ledger events -- Append-only `entries.csv` audit trail +- All-time leaderboard +- Session archive +- Per player stat pages +- Admin only login for adding ledger events +- Append only `entries.csv` audit trail - Buy-ins, cash-outs, note-only events, and correction events using negative amounts - Cumulative profit chart and player charts @@ -57,11 +56,6 @@ export $(grep -v '^#' .env | xargs) python app.py ``` -Open: - -- public site: `http://127.0.0.1:5000/leaderboard` -- admin login: `http://127.0.0.1:5000/admin/login` - ## Default environment values The app reads these environment variables: @@ -69,18 +63,3 @@ The app reads these environment variables: - `SECRET_KEY` - `ADMIN_USERNAME` - `ADMIN_PASSWORD` - -If you do not set them, the app falls back to insecure defaults for local development only. - -## Suggested next steps - -- Add session filters like last 5, 10, 20, all -- Add player color editing -- Add export/import tools -- Add session status like open and closed -- Replace CSV storage with SQLite later without changing the page layer -- Add reverse proxy deployment with Caddy or Nginx - -## Deploy notes - -For a private home-hosted deployment, I would run this behind Caddy or Nginx and set real environment variables instead of using defaults. diff --git a/templates/admin_dashboard.html b/templates/admin_dashboard.html index dc3fda4..52c2715 100644 --- a/templates/admin_dashboard.html +++ b/templates/admin_dashboard.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% block title %}Admin ยท Poker Portal{% endblock %} +{% block title %}Admin - Poker Portal{% endblock %} {% block content %}
@@ -21,7 +21,7 @@