website: demo household and the admin screenshots it produced

This commit is contained in:
2026-10-20 09:57:49 +02:00
parent 4ef795a8a9
commit 2697adfa27
27 changed files with 805 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
# usage: db.sh /gen/<script>.py /data [args]
# Runs a gen/ script against the nxdemo-data volume as nxdns's uid. TZ is Europe/Paris written as a
# POSIX rule, because alpine ships no zoneinfo; rewrite_history.py shapes the day in local time.
set -eu
DEMO=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
exec docker run --rm -i --user 65532:65532 -e TZ=CET-1CEST,M3.5.0,M10.5.0/3 \
-v nxdemo-data:/data -v "$DEMO/gen:/gen:ro" python:3-alpine python -I "$@"