3a1da1482c
- FastAPI + SQLite + Alpine.js + HTMX PWA for Bingo Bango Bongo golf scoring - Passwordless magic link auth with email (aiosmtplib) and admin invite system - Real-time score entry via WebSocket with drag-and-drop player ordering - Course management with per-hole par and stroke index - Scorecard with golf score markers (birdie, eagle, bogey, etc.) - Two-step new game form with tee selection per player - Dashboard with stats, live games social stream, and recent game history - Game summary view (read-only scorecard with leaderboard) - User profile pages with win stats - PWA install support with generated PNG icons - Admin panel for users, courses, games, and invitations Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
791 B
Bash
26 lines
791 B
Bash
# Secret key for signing session cookies — use a long random string in production
|
|
SECRET_KEY=change-me-to-a-long-random-string
|
|
|
|
# Email address of the admin user
|
|
ADMIN_EMAIL=admin@example.com
|
|
|
|
# Base URL used to build magic links (no trailing slash)
|
|
SITE_URL=http://localhost:8000
|
|
|
|
# development | production
|
|
ENV=development
|
|
|
|
# Path to the SQLite database file (inside the container)
|
|
DATABASE_PATH=/data/skinspins.db
|
|
|
|
# SMTP email settings (leave SMTP_HOST empty to disable email and log links instead)
|
|
SMTP_HOST=smtp.example.com
|
|
SMTP_PORT=587
|
|
SMTP_USER=your@email.com
|
|
SMTP_PASSWORD=your-smtp-password
|
|
SMTP_FROM=noreply@example.com
|
|
# Use implicit SSL/TLS (port 465). Set SMTP_TLS=false when using SSL.
|
|
SMTP_SSL=false
|
|
# Use STARTTLS (port 587). Set to "false" when using SSL.
|
|
SMTP_TLS=true
|