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 ```bash
laconic-so publish-deployment-auction \ laconic-so publish-deployment-auction \
--laconic-config ./config.yml \ --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 \ --commits-duration 3600 \
--reveals-duration 3600 \ --reveals-duration 3600 \
--commit-fee 10000 \ --commit-fee 10000 \
@ -107,7 +107,19 @@ laconic-so request-webapp-deployment \
--auction-id 4c9701c22651e143202e991056b6e7649853acc5bc0e97e3a98e09c9f3355909 --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 ### Example Config