Run laconic-console stack as part of fixturenet deployment #1

Merged
ashwin merged 7 commits from pm-add-cli-and-console into main 2024-06-25 06:43:23 +00:00
2 changed files with 11 additions and 5 deletions
Showing only changes of commit 008292867a - Show all commits

View File

@ -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

View File

@ -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