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" }