update --data-path to --config-path

This commit is contained in:
boneyard93501 2022-03-21 15:41:15 -05:00
parent 8e472d56ce
commit cc147cfc1b
9 changed files with 13 additions and 13 deletions

View File

@ -240,7 +240,7 @@ Looks like our services are working and ready for deployment to the `stage` netw
```bash
aqua remote deploy \
--addr /dns4/stage.fluence.dev/tcp/19004/wss/p2p/12D3KooWJ4bTHirdTFNZpCS72TAzwtdmavTBkkEXtzo6wHL25CtE \
--data-path configs/ceramic_adapter_deploy_cfg.json \
--config-path configs/ceramic_adapter_deploy_cfg.json \
--service ceramic-service
```

View File

@ -116,7 +116,7 @@ Any one of the peers will do and we can deploy our services with the `aqua` cli
# deploy greeting service
aqua remote deploy \
--addr /dns4/kras-03.fluence.dev/tcp/19001/wss/p2p/12D3KooWJd3HaMJ1rpLY1kQvcjRPEvnDwcXrH8mJvk7ypcZXqXGE \
--data-path configs/echo_greeter_deploy_cfg.json \
--config-path configs/echo_greeter_deploy_cfg.json \
--service echo-greeter
```
@ -141,7 +141,7 @@ and
# deploy echo service
aqua remote deploy \
--addr /dns4/kras-03.fluence.dev/tcp/19001/wss/p2p/12D3KooWJd3HaMJ1rpLY1kQvcjRPEvnDwcXrH8mJvk7ypcZXqXGE \
--data-path configs/echo_greeter_deploy_cfg.json \
--config-path configs/echo_greeter_deploy_cfg.json \
--service echo-service
```

View File

@ -357,7 +357,7 @@ Before we can use our Fluence NEAR adapter, we need to deploy our Wasm modules t
```bash
aqua remote deploy \
--addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \
--data-path configs/near_deploy_cfg.json \
--config-path configs/near_deploy_cfg.json \
--service near-adapter
```

View File

@ -165,7 +165,7 @@ Pick any of the peer ids from the listed peers to deploy your services. Let's sa
```bash
aqua remote deploy \
--addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \
--data-path configs/ts_oracle_deploy_cfg.json \
--config-path configs/ts_oracle_deploy_cfg.json \
--service price-getter
```
@ -193,7 +193,7 @@ and to deploy the mean service:
```bash
aqua remote deploy \
--addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \
--data-path configs/ts_oracle_deploy_cfg.json \
--config-path configs/ts_oracle_deploy_cfg.json \
--service mean-service
```

View File

@ -58,7 +58,7 @@ and deploy the service to a peer of your choice with the `aqua` cli tool:
```bash
aqua remote deploy \
--addr /dns4/kras-06.fluence.dev/tcp/19001/wss/p2p/12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr \
--data-path configs/ts_oracle_deploy_cfg.json \
--config-path configs/ts_oracle_deploy_cfg.json \
--service ts-oracle
```

View File

@ -749,7 +749,7 @@ We use the `aqua remote deploy` command to do our bidding:
```zsh
aqua remote deploy --help
Usage: aqua remote deploy [--timeout <integer>] [--log-level <string>] --addr <string> [--on <string>] [--print-air] [--sk <string>] --data-path <string> --service <string>
Usage: aqua remote deploy [--timeout <integer>] [--log-level <string>] --addr <string> [--on <string>] [--print-air] [--sk <string>] --config-path <string> --service <string>
Deploy a service onto a remote peer
@ -768,7 +768,7 @@ Options and flags:
Prints generated AIR code before function execution
--sk <string>, -s <string>
Ed25519 32-byte secret key in base64
--data-path <string>, -p <string>
--config-path <string>, -p <string>
Path to file with arguments map in JSON format
--service <string>, -s <string>
What service from the config file to deploy
@ -781,7 +781,7 @@ To create our greeting service on peer `12D3KooWKnEqMfYo9zvfHmqTLpLdiHXPe4SVqUWc
```zsh
aqua remote deploy \
--addr /dns4/kras-01.fluence.dev/tcp/19001/wss/p2p/12D3KooWKnEqMfYo9zvfHmqTLpLdiHXPe4SVqUWcWHDJdFGrSmcA
--data-path configs/greeting_deploy_cfg.json \
--config-path configs/greeting_deploy_cfg.json \
--service my-greeting-service
```

View File

@ -16,5 +16,5 @@ test -f "$WASM" || echo >&2 "Couldn't find $WASM"
# create a service from that .wasm
CONFIG="config.json"
SERVICE_ID=$(aqua remote deploy --sk qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqo= --data-path config.json --service call_parameters --addr "$NODE" | tail -n 1 | tr -d \")
SERVICE_ID=$(aqua remote deploy --sk qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqo= --config-path config.json --service call_parameters --addr "$NODE" | tail -n 1 | tr -d \")
echo $SERVICE_ID

View File

@ -1,6 +1,6 @@
aqua remote deploy \
--addr /dns4/kras-06.fluence.dev/tcp/19001/wss/p2p/12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr \
--data-path deployment_cfg.json \
--config-path deployment_cfg.json \
--service url-downloader
Your peerId: 12D3KooWRPELv7DNPJvd7uG79etrvzN7VUaQGUt58qBWu4c58UHb

View File

@ -2,7 +2,7 @@
aqua remote deploy \
--addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \
--data-path configs/ts_oracle_deploy_cfg.json \
--config-path configs/ts_oracle_deploy_cfg.json \
--service ts-oracle \
>>\
deployed_service.data