feat: one-click setup-plugin.mjs + start scripts + README

This commit is contained in:
2026-09-01 18:59:28 +08:00
parent e9879a41bf
commit 2da59b8190
4 changed files with 100 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Start DSHWatch relay broker
set -e
cd "$(dirname "$0")/.."
if [ ! -f config.json ]; then
cp config.example.json config.json
echo "created config.json from example; edit token first." >&2
fi
npm install --no-audit --no-fund
node server.js