fix readme

This commit is contained in:
Zach 2023-09-01 10:45:46 -04:00 committed by zramsay
parent bab3a8dba8
commit b3e2bb5e86

View File

@ -4,6 +4,8 @@ Testing a "Loaded" fixturenet with console.
Instructions for deploying a local Laconic blockchain "fixturenet" for development and testing purposes using laconic-stack-orchestrator. Instructions for deploying a local Laconic blockchain "fixturenet" for development and testing purposes using laconic-stack-orchestrator.
**Note:** For building some NPMs, access to the @lirewine repositories is required. If you don't have access, see [this tutorial](/docs/laconicd-fixturenet.md) to run this stack
## 1. Install Laconic Stack Orchestrator ## 1. Install Laconic Stack Orchestrator
Installation is covered in detail [here](https://github.com/cerc-io/stack-orchestrator#user-mode) but if you're on Linux and already have docker installed it should be as simple as: Installation is covered in detail [here](https://github.com/cerc-io/stack-orchestrator#user-mode) but if you're on Linux and already have docker installed it should be as simple as:
``` ```
@ -30,24 +32,24 @@ $ export CERC_NPM_AUTH_TOKEN=<my-token>
## 3. Clone required repositories ## 3. Clone required repositories
``` ```
$ laconic-so --stack fixturenet-laconicd setup-repositories $ laconic-so --stack fixturenet-laconic-loaded setup-repositories
``` ```
## 4. Build the stack's packages and containers ## 4. Build the stack's packages and containers
``` ```
$ laconic-so --stack fixturenet-laconicd build-npms $ laconic-so --stack fixturenet-laconic-loaded build-npms
$ laconic-so --stack fixturenet-laconicd build-containers $ laconic-so --stack fixturenet-laconic-loaded build-containers
``` ```
## 5. Deploy the stack ## 5. Deploy the stack
``` ```
$ laconic-so --stack fixturenet-laconicd deploy up $ laconic-so --stack fixturenet-laconic-loaded deploy up
``` ```
Correct operation should be verified by checking the laconicd container's logs with: Correct operation should be verified by checking the laconicd container's logs with:
``` ```
$ laconic-so --stack fixturenet-laconicd deploy logs $ laconic-so --stack fixturenet-laconic-loaded deploy logs
``` ```
## 6. Test with the Registry CLI ## 6. Test with the Registry CLI
``` ```
$ laconic-so --stack fixturenet-laconicd deploy exec cli "laconic cns status" $ laconic-so --stack fixturenet-laconic-loaded deploy exec cli "laconic cns status"
``` ```
## 7. View the laconic console ## 7. View the laconic console
Get the URL for the console web app with this command (the port number will be different for each deployment): Get the URL for the console web app with this command (the port number will be different for each deployment):