The kit sets games up on the shared hall host

setup-droplet.sh prepares a host several games share and adds this game
to it: its own Caddy site file, port, user, trees and access log, with
/etc/caddy/Caddyfile only importing sites/*.caddy. setup-server.sh is
folded in. A slug that is already a system group stops the setup with a
clear word. new-game.sh now stamps .py files too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jm2auWk6RP71CjaAb4FMoG
This commit is contained in:
Eric Wagoner
2026-09-25 16:49:03 -04:00
co-authored by Claude Opus 5.5
parent cd9d14ec35
commit bc5f93c2fa
7 changed files with 131 additions and 118 deletions
+2 -1
View File
@@ -12,7 +12,8 @@ from collections import Counter
BOT = re.compile(r"bot|crawl|spider|slurp|facebookexternalhit|slack|discord|twitter|preview|fetch|curl|python|go-http|wget|headless|scan|monitor|uptime", re.I)
PAGES = {"/": "hall", "/rules": "rules", "/guide": "guide"}
SITE = "__DOMAIN__"
LOGS = "/var/lib/caddy/access*.log*"
# Each game on a shared host keeps its own access log.
LOGS = "/var/lib/caddy/__SLUG__-access*.log*"
def scan(day, logs=LOGS):