diff --git a/service-provider.md b/service-provider.md index 847a90e..a173295 100644 --- a/service-provider.md +++ b/service-provider.md @@ -36,7 +36,7 @@ Follow steps from 9555 + + # Set pod id + export POD_ID= + # Example: + # export POD_ID=laconic-096fed46af974a47-deployment-644db859c7-snbq6 + ``` + * Copy the GPG key file to the webapp-deployer container ```bash - # Get the webapp-deployer pod id - kubectl get pods --sort-by=.metadata.creationTimestamp -o jsonpath='{.items[-1].metadata.name}' - # laconic-ac473c31db9ac9fd-deployment-674bf7bf9f-529bs - # Copy the GPG key files to the pod - kubectl cp laconic-ac473c31db9ac9fd-deployment-674bf7bf9f-529bs:/app - kubectl cp laconic-ac473c31db9ac9fd-deployment-674bf7bf9f-529bs:/app + kubectl cp $POD_ID:/app + kubectl cp $POD_ID:/app ``` -* Update the webapp ui config + * Check logs + + ```bash + laconic-so deployment --dir webapp-deployer logs cerc-webapp-deployer + ``` + +* Update `webapp-ui/config.env` ```bash # URL of the webapp deployer backend @@ -155,6 +172,12 @@ Follow steps from Update config for webapp deployer @@ -407,8 +374,8 @@ Follow the steps given below to connect the webapp-deployer to testnet2 ```bash # Copy the GPG key files to the pod - kubectl cp POD_ID:/app - kubectl cp POD_ID:/app + kubectl cp $POD_ID:/app + kubectl cp $POD_ID:/app ```` * Check logs