mirror of
https://github.com/fluencelabs/examples
synced 2024-12-04 19:20:17 +00:00
update config- to data-path
This commit is contained in:
parent
e082a5442c
commit
172897fa47
@ -240,7 +240,7 @@ Looks like our services are working and ready for deployment to the `stage` netw
|
||||
```bash
|
||||
aqua remote deploy_service \
|
||||
--addr /dns4/stage.fluence.dev/tcp/19004/wss/p2p/12D3KooWJ4bTHirdTFNZpCS72TAzwtdmavTBkkEXtzo6wHL25CtE \
|
||||
--config-path configs/ceramic_adapter_deploy_cfg.json \
|
||||
--data-path configs/ceramic_adapter_deploy_cfg.json \
|
||||
--service ceramic-service
|
||||
```
|
||||
|
||||
|
@ -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_service \
|
||||
--addr /dns4/kras-03.fluence.dev/tcp/19001/wss/p2p/12D3KooWJd3HaMJ1rpLY1kQvcjRPEvnDwcXrH8mJvk7ypcZXqXGE \
|
||||
--config-path configs/echo_greeter_deploy_cfg.json \
|
||||
--data-path configs/echo_greeter_deploy_cfg.json \
|
||||
--service echo-greeter
|
||||
```
|
||||
|
||||
@ -141,7 +141,7 @@ and
|
||||
# deploy echo service
|
||||
aqua remote deploy_service \
|
||||
--addr /dns4/kras-03.fluence.dev/tcp/19001/wss/p2p/12D3KooWJd3HaMJ1rpLY1kQvcjRPEvnDwcXrH8mJvk7ypcZXqXGE \
|
||||
--config-path configs/echo_greeter_deploy_cfg.json \
|
||||
--data-path configs/echo_greeter_deploy_cfg.json \
|
||||
--service echo-service
|
||||
```
|
||||
|
||||
|
@ -357,7 +357,7 @@ Before we can use our Fluence NEAR adapter, we need to deploy our Wasm modules t
|
||||
```bash
|
||||
aqua remote deploy_service \
|
||||
--addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \
|
||||
--config-path configs/near_deploy_cfg.json \
|
||||
--data-path configs/near_deploy_cfg.json \
|
||||
--service near-adapter
|
||||
```
|
||||
|
||||
|
@ -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_service \
|
||||
--addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \
|
||||
--config-path configs/ts_oracle_deploy_cfg.json \
|
||||
--data-path configs/ts_oracle_deploy_cfg.json \
|
||||
--service price-getter
|
||||
```
|
||||
|
||||
@ -193,7 +193,7 @@ and to deploy the mean service:
|
||||
```bash
|
||||
aqua remote deploy_service \
|
||||
--addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \
|
||||
--config-path configs/ts_oracle_deploy_cfg.json \
|
||||
--data-path configs/ts_oracle_deploy_cfg.json \
|
||||
--service mean-service
|
||||
```
|
||||
|
||||
|
@ -58,7 +58,7 @@ and deploy the service to a peer of your choice with the `aqua` cli tool:
|
||||
```bash
|
||||
aqua remote deploy_service \
|
||||
--addr /dns4/kras-06.fluence.dev/tcp/19001/wss/p2p/12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr \
|
||||
--config-path configs/ts_oracle_deploy_cfg.json \
|
||||
--data-path configs/ts_oracle_deploy_cfg.json \
|
||||
--service ts-oracle
|
||||
```
|
||||
|
||||
|
@ -749,7 +749,7 @@ We use the `aqua remote deploy_service` command to do our bidding:
|
||||
```zsh
|
||||
aqua remote deploy_service --help
|
||||
|
||||
Usage: aqua remote deploy_service [--timeout <integer>] [--log-level <string>] --addr <string> [--on <string>] [--print-air] [--sk <string>] --config-path <string> --service <string>
|
||||
Usage: aqua remote deploy_service [--timeout <integer>] [--log-level <string>] --addr <string> [--on <string>] [--print-air] [--sk <string>] --data-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
|
||||
--config-path <string>, -p <string>
|
||||
--data-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_service \
|
||||
--addr /dns4/kras-01.fluence.dev/tcp/19001/wss/p2p/12D3KooWKnEqMfYo9zvfHmqTLpLdiHXPe4SVqUWcWHDJdFGrSmcA
|
||||
--config-path configs/greeting_deploy_cfg.json \
|
||||
--data-path configs/greeting_deploy_cfg.json \
|
||||
--service my-greeting-service
|
||||
```
|
||||
|
||||
|
@ -12,10 +12,10 @@ name = "build_rs_test"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
marine-rs-sdk = "0.6.11"
|
||||
marine-rs-sdk = "0.6.15"
|
||||
|
||||
[dev-dependencies]
|
||||
marine-rs-sdk-test = "0.4.0"
|
||||
marine-rs-sdk-test = "0.4.1"
|
||||
|
||||
[build-dependencies]
|
||||
marine-rs-sdk-test = "0.4.0"
|
||||
marine-rs-sdk-test = "0.4.1"
|
||||
|
@ -1,6 +1,6 @@
|
||||
aqua remote deploy_service \
|
||||
--addr /dns4/kras-06.fluence.dev/tcp/19001/wss/p2p/12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr \
|
||||
--config-path deployment_cfg.json \
|
||||
--data-path deployment_cfg.json \
|
||||
--service url-downloader
|
||||
|
||||
Your peerId: 12D3KooWRPELv7DNPJvd7uG79etrvzN7VUaQGUt58qBWu4c58UHb
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
aqua remote deploy_service \
|
||||
--addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \
|
||||
--config-path configs/ts_oracle_deploy_cfg.json \
|
||||
--data-path configs/ts_oracle_deploy_cfg.json \
|
||||
--service ts-oracle \
|
||||
>>\
|
||||
deployed_service.data
|
Loading…
Reference in New Issue
Block a user