feat: one-click setup-plugin.mjs + start scripts + README
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user