Update instructions

This commit is contained in:
Prathamesh Musale 2024-10-07 15:18:20 +05:30
parent c9fc9ad53a
commit 8fc3d99135

View File

@ -66,7 +66,7 @@ Users can optionally create an auction for app deployment with desired number of
```bash
laconic-so publish-deployment-auction \
--laconic-config ./config.yml \
--app lrn://deepstack/applications/pwa-test-13 \
--app lrn://cerc-io/applications/webapp-hello-world@0.1.3 \
--commits-duration 3600 \
--reveals-duration 3600 \
--commit-fee 10000 \
@ -85,7 +85,7 @@ Users can now request deployment using the LRN of the deployer. This will allow
1. Obtain the public key for encrypting config.
1. See the minimum required payment.
The request can be made using `laconic-so request-webapp-deployment`. This will handle encrypting and uploading the
The request can be made using `laconic-so request-webapp-deployment`. This will handle encrypting and uploading the
config automatically, as well as making a payment (if necessary).
```bash
@ -107,7 +107,19 @@ laconic-so request-webapp-deployment \
--auction-id 4c9701c22651e143202e991056b6e7649853acc5bc0e97e3a98e09c9f3355909
```
Similar to requests with payments, the config is automatically encrypted and uploaded to all the deployers who have won the auction.
This creates deployment requests targeted towards all the deployers who have won the auction. Similar to requests with payments, the config is automatically encrypted and uploaded to all the deployers.
### Request Undeployment
Users can also request removal of an existing deployment using the deployment record id:
```bash
laconic-so request-webapp-undeployment \
--laconic-config ~/.laconic/registry.yml \
--deployer lrn://laconic/deployers/webapp-deployer-api.my.domain.com \
--deployment bafyreigeopr72dmp6rhvnomgdz3cljbqzhh75epcrigit7ue6i6vjullme \
--make-payment auto
```
### Example Config