Update record type
This commit is contained in:
parent
155fecc060
commit
5d253615fb
@ -48,6 +48,7 @@
|
||||
### gor-deploy
|
||||
|
||||
* Deploy `gor-deploy` App:
|
||||
|
||||
```bash
|
||||
# In gor-deploy/deploy dir
|
||||
docker run -it \
|
||||
@ -61,7 +62,7 @@
|
||||
|
||||
* Visit deployed app: <https://gor-deploy.apps.vaasl.io>
|
||||
|
||||
### remove deployment
|
||||
### Remove deployment
|
||||
|
||||
* Remove deployment:
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
record:
|
||||
type: ApplicationDeploymentCostRecord
|
||||
type: PricingRecord
|
||||
for: "webapp-deployment"
|
||||
amount: "5"
|
||||
currency: "USD"
|
||||
version: 1.0.0
|
@ -1,4 +1,4 @@
|
||||
# publish-deployment-cost
|
||||
# publish-pricing
|
||||
|
||||
## Prerequisites
|
||||
|
||||
@ -18,10 +18,10 @@
|
||||
nano config.yml
|
||||
```
|
||||
|
||||
- Update `cost` and `currency` in [deployment-cost.yml](./deployment-cost.yml) file as required:
|
||||
- Update `cost` and `currency` in [pricing.yml](./pricing.yml) file as required:
|
||||
|
||||
```bash
|
||||
nano deployment-cost.yml
|
||||
nano pricing.yml
|
||||
```
|
||||
|
||||
## Create Bond
|
||||
@ -43,7 +43,7 @@
|
||||
- Publish a record
|
||||
|
||||
```bash
|
||||
laconic registry record publish --filename deployment-cost.yml --bond-id <bond-id> --gas 250000 --fees 250alnt
|
||||
laconic registry record publish --filename pricing.yml --bond-id <bond-id> --gas 250000 --fees 250alnt
|
||||
|
||||
{ id: 'bafyreic3auqajv...' }
|
||||
```
|
||||
@ -89,3 +89,11 @@
|
||||
```bash
|
||||
laconic registry auction bid reveal <auction-id> ./out/bafyreiay2rccax64yn4ljhvzvm3jkbebvzheyucuma5jlbpzpzd5i5gjuy.json
|
||||
```
|
||||
|
||||
## Set Record Name
|
||||
|
||||
- Set name:
|
||||
|
||||
```bash
|
||||
laconic registry name set lrn://<authority>/pricing/webapp-deployment <record-id>
|
||||
```
|
Loading…
Reference in New Issue
Block a user