From 8fc3d99135e777deacfdfb38d6372afa6e0e676d Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Mon, 7 Oct 2024 15:18:20 +0530 Subject: [PATCH] Update instructions --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cc4032b..3a7d448 100644 --- a/README.md +++ b/README.md @@ -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