diff --git a/stack-orchestrator/stacks/fixturenet-laconicd/README.md b/stack-orchestrator/stacks/fixturenet-laconicd/README.md index 5607c18..8dba1e3 100644 --- a/stack-orchestrator/stacks/fixturenet-laconicd/README.md +++ b/stack-orchestrator/stacks/fixturenet-laconicd/README.md @@ -40,7 +40,7 @@ Instructions for running a laconicd fixturenet along with registry CLI and conso ## Create a deployment -* Create a spec file for the deployment: +* Create spec files for the deployment: ```bash laconic-so --stack ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd deploy init --output fixturenet-laconicd-spec.yml @@ -71,7 +71,7 @@ Instructions for running a laconicd fixturenet along with registry CLI and conso - '8080:80' ``` -* Create a deployment from the spec file: +* Create deployment from the spec files: ```bash laconic-so --stack ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd deploy create --spec-file fixturenet-laconicd-spec.yml --deployment-dir fixturenet-laconicd-deployment diff --git a/stack-orchestrator/stacks/fixturenet-laconicd/records-demo.md b/stack-orchestrator/stacks/fixturenet-laconicd/records-demo.md index d3102eb..94e7636 100644 --- a/stack-orchestrator/stacks/fixturenet-laconicd/records-demo.md +++ b/stack-orchestrator/stacks/fixturenet-laconicd/records-demo.md @@ -23,13 +23,19 @@ ```bash # Example - cp -r /home/user/laconic-testnet-data/records/* laconic-console-deployment/data/laconic-registry-data/ + cp -r /home/user/laconic-testnet-data/records/repo laconic-console-deployment/data/laconic-registry-data/ + + rsync -av --exclude 'repo' /home/user/laconic-testnet-data/records laconic-console-deployment/data/laconic-registry-data/ ``` -* Publish all records from the `laconic-registry-data` directory: +* Publish records from the `laconic-registry-data` directory: ```bash - laconic-so deployment --dir laconic-console-deployment exec cli "yarn ts-node demo/scripts/publish-records.ts --config config.yml --records /laconic-registry-data" + # Publish repository records first + laconic-so deployment --dir laconic-console-deployment exec cli "yarn ts-node demo/scripts/publish-records.ts --config config.yml --records /laconic-registry-data/repo" + + # Publish rest of the records + laconic-so deployment --dir laconic-console-deployment exec cli "yarn ts-node demo/scripts/publish-records.ts --config config.yml --records /laconic-registry-data/records" ``` ## Query