feat: add management web console

This commit is contained in:
Yoilun
2026-04-27 11:28:57 +08:00
parent b3672c564a
commit c4f9dab049
17 changed files with 2051 additions and 7 deletions

8
scripts/run_manage_api.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
CONFIG_PATH="${CONFIG_PATH:-config/example.toml}"
HOST="${HOST:-127.0.0.1}"
PORT="${PORT:-19080}"
PYTHONPATH=src python3 -m cold_display_guard.manage_api --config "$CONFIG_PATH" --host "$HOST" --port "$PORT"

5
scripts/run_web.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
cd web
pnpm dev --host 127.0.0.1 --port 23000