feat: add management web console
This commit is contained in:
8
scripts/run_manage_api.sh
Executable file
8
scripts/run_manage_api.sh
Executable 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
5
scripts/run_web.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
cd web
|
||||
pnpm dev --host 127.0.0.1 --port 23000
|
||||
Reference in New Issue
Block a user