From 74cafc157db296528c87f9e9481a983b47c702b9 Mon Sep 17 00:00:00 2001 From: Mikkeli Matlock Date: Sat, 24 Jan 2026 23:21:31 +0900 Subject: [PATCH] deploy target config changed to a sample --- .gitignore | 5 ++++- scripts/deploy.sh | 1 + scripts/{deploy_target.json => deploy_target.sample.json} | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) rename scripts/{deploy_target.json => deploy_target.sample.json} (60%) diff --git a/.gitignore b/.gitignore index cc44677..86a451c 100644 --- a/.gitignore +++ b/.gitignore @@ -48,4 +48,7 @@ pi/ui/README.md pi/ui/analysis_options.yaml # Pi (aarch64) dynamic linkers and stuff -pi_sysroot/ \ No newline at end of file +pi_sysroot/ + +# personal deploy target info +scripts/deploy_target.json \ No newline at end of file diff --git a/scripts/deploy.sh b/scripts/deploy.sh index f4b84eb..0df1a93 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -7,6 +7,7 @@ set -e SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" PROJECT_ROOT="$(dirname "$SCRIPT_DIR")" CONFIG_FILE="$SCRIPT_DIR/deploy_target.json" +# You'll need to create this file based on deploy_target.sample.json # Parse config if [ ! -f "$CONFIG_FILE" ]; then diff --git a/scripts/deploy_target.json b/scripts/deploy_target.sample.json similarity index 60% rename from scripts/deploy_target.json rename to scripts/deploy_target.sample.json index eb3fd56..c779196 100644 --- a/scripts/deploy_target.json +++ b/scripts/deploy_target.sample.json @@ -1,6 +1,6 @@ { - "user": "mikkeli", - "host": "192.168.2.102", + "user": "pi", + "host": "192.168.114.5", "remote_path": "/opt/smartserow", "service_name": "smartserow-ui" }