sync: auto-sync from HOWARD-HOME at 2026-07-17 20:00:56

Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-07-17 20:00:56
This commit is contained in:
2026-07-17 20:01:24 -07:00
parent 9edb424869
commit 742bc5f81b
8 changed files with 942 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#!/usr/bin/env bash
# Serve the bug tracker dashboard on localhost:8089
# Usage: bash projects/msp-tools/bug-tracker/serve.sh [--open]
#
# Pass the Gitea token as ?token=xxx in the browser URL, or set GITEA_TOKEN env var
# to have it injected automatically.
DIR="$(cd "$(dirname "$0")" && pwd)"
PORT=8089
echo "[INFO] Serving bug tracker dashboard at http://localhost:$PORT/dashboard.html"
if [[ -n "$GITEA_TOKEN" ]]; then
echo "[INFO] Open: http://localhost:$PORT/dashboard.html?token=$GITEA_TOKEN"
else
echo "[INFO] Add ?token=YOUR_GITEA_TOKEN to the URL for authenticated access"
fi
if [[ "$1" == "--open" ]]; then
(sleep 1 && start "" "http://localhost:$PORT/dashboard.html") &
fi
cd "$DIR"
python -m http.server $PORT --bind 127.0.0.1