deploy target config changed to a sample
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -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
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user