generated from CubeCraft-Creations/Tracehound
feat: add v3 hardware case and update hub network
This commit is contained in:
+7
-7
@@ -9,8 +9,8 @@
|
||||
# Options:
|
||||
# --config PATH Path to config.yaml template to copy to /opt/remoterig/
|
||||
# --service-user USER Systemd service user (default: pi)
|
||||
# --static-ip IP Static IP for wlan0 (default: 192.168.4.10/24)
|
||||
# --gateway IP Gateway for wlan0 (default: 192.168.4.1)
|
||||
# --static-ip IP Static IP for wlan0 (default: 10.60.1.56/24)
|
||||
# --gateway IP Gateway for wlan0 (default: 10.60.1.1)
|
||||
# --help Show this help
|
||||
|
||||
set -euo pipefail
|
||||
@@ -20,8 +20,8 @@ set -euo pipefail
|
||||
# ---------------------------------------------------------------------------
|
||||
CONFIG_TEMPLATE=""
|
||||
SERVICE_USER="pi"
|
||||
STATIC_IP="192.168.4.10/24"
|
||||
GATEWAY="192.168.4.1"
|
||||
STATIC_IP="10.60.1.56/24"
|
||||
GATEWAY="10.60.1.1"
|
||||
MOSQUITTO_PKG="mosquitto mosquitto-clients"
|
||||
DEPLOY_DIR="/opt/remoterig"
|
||||
SERVICE_NAME="remoterig"
|
||||
@@ -324,13 +324,13 @@ echo " Next steps:"
|
||||
echo " 1. Build the remoterig binary for ARM64:"
|
||||
echo " GOOS=linux GOARCH=arm64 go build -o remoterig ./cmd/server"
|
||||
echo " 2. Copy binary to Pi:"
|
||||
echo " scp remoterig pi@192.168.4.10:/opt/remoterig/"
|
||||
echo " scp remoterig pi@10.60.1.56:/opt/remoterig/"
|
||||
echo " 3. Copy config if needed:"
|
||||
echo " scp config.yaml pi@192.168.4.10:/opt/remoterig/"
|
||||
echo " scp config.yaml pi@10.60.1.56:/opt/remoterig/"
|
||||
echo " 4. Start the service:"
|
||||
echo " sudo systemctl start remoterig"
|
||||
echo " 5. Check health:"
|
||||
echo " curl http://192.168.4.10:8080/health"
|
||||
echo " curl http://10.60.1.56:8080/health"
|
||||
echo ""
|
||||
echo " To deploy updates, use: scripts/deploy.sh"
|
||||
echo "=============================================="
|
||||
|
||||
Reference in New Issue
Block a user