deploy target config changed to a sample

This commit is contained in:
Mikkeli Matlock
2026-01-24 23:21:31 +09:00
parent aabca4915c
commit 74cafc157d
3 changed files with 7 additions and 3 deletions

3
.gitignore vendored
View File

@@ -49,3 +49,6 @@ pi/ui/analysis_options.yaml
# Pi (aarch64) dynamic linkers and stuff # Pi (aarch64) dynamic linkers and stuff
pi_sysroot/ pi_sysroot/
# personal deploy target info
scripts/deploy_target.json

View File

@@ -7,6 +7,7 @@ set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(dirname "$SCRIPT_DIR")" PROJECT_ROOT="$(dirname "$SCRIPT_DIR")"
CONFIG_FILE="$SCRIPT_DIR/deploy_target.json" CONFIG_FILE="$SCRIPT_DIR/deploy_target.json"
# You'll need to create this file based on deploy_target.sample.json
# Parse config # Parse config
if [ ! -f "$CONFIG_FILE" ]; then if [ ! -f "$CONFIG_FILE" ]; then

View File

@@ -1,6 +1,6 @@
{ {
"user": "mikkeli", "user": "pi",
"host": "192.168.2.102", "host": "192.168.114.5",
"remote_path": "/opt/smartserow", "remote_path": "/opt/smartserow",
"service_name": "smartserow-ui" "service_name": "smartserow-ui"
} }