Support for complete laconic stack with console and test registration record (#335)

* Configure cli with necessary gas and fees args and address

* Update version

Former-commit-id: 0068a994f63c7a420ab223dd67b969ebaa604200
This commit is contained in:
2023-04-16 20:14:15 -06:00
committed by GitHub
parent 99af105b9c
commit 5a50e46718
9 changed files with 57 additions and 1 deletions
@@ -48,3 +48,18 @@ $ laconic-so --stack fixturenet-laconicd deploy logs
```
$ laconic-so --stack fixturenet-laconicd deploy exec cli "laconic cns status"
```
## 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):
```
$ echo http://localhost:$(laconic-so --stack fixturenet-laconic-loaded deploy port laconic-console 80 | cut -d ':' -f 2)
http://localhost:58364
```
Open that address with a browser. The console should display
## 8. Load demo data into the registry
```
$ laconic-so --stack fixturenet-laconic-loaded deploy exec cli ./scripts/create-demo-records.sh
Balance is: 99998999999999998999600000
Created bond with id: dd88e8d6f9567b32b28e70552aea4419c5dd3307ebae85a284d1fe38904e301a
Published demo-record-1.yml with id: bafyreierh3xnfivexlscdwubvczmddsnf46uytyfvrbdhkjzztvsz6ruly
```
The published record should be visible in the console.
@@ -1,4 +1,4 @@
version: "1.0"
version: "1.1"
name: fixturenet-laconic-loaded
description: "A full featured laconic fixturenet"
repos:
@@ -28,3 +28,5 @@ pods:
config:
cli:
key: laconicd.mykey
address: laconicd.myaddress
@@ -16,3 +16,4 @@ pods:
config:
cli:
key: laconicd.mykey
address: laconicd.myaddress