Add examples for variables

This commit is contained in:
Adw8 2024-10-29 18:53:58 +05:30 committed by Prathamesh Musale
parent d84e4089f7
commit aff7cc0c71

View File

@ -40,8 +40,11 @@ Follow steps from <https://git.vdb.to/cerc-io/testnet-ops/src/branch/main/servic
```bash ```bash
# Set required variables # Set required variables
# eg: container-registry.pwa.laconic.com
CONTAINER_REGISTRY_URL= CONTAINER_REGISTRY_URL=
# eg: dev
CONTAINER_REGISTRY_USERNAME= CONTAINER_REGISTRY_USERNAME=
# eg: password
CONTAINER_REGISTRY_PASSWORD= CONTAINER_REGISTRY_PASSWORD=
# login to container registry # login to container registry
@ -84,7 +87,7 @@ Follow steps from <https://git.vdb.to/cerc-io/testnet-ops/src/branch/main/servic
# eg: /home/dev/webapp-deployer # eg: /home/dev/webapp-deployer
DEPLOYER_DIR= DEPLOYER_DIR=
# API URL of the webapp-deployer # API URL of the webapp-deployer
# eg: "https://webapp-deployer-ui.pwa.laconic.com" # eg: "https://webapp-deployer-api.pwa.laconic.com"
API_URL= API_URL=
# LRN (logical resource name) of the webapp-deployer # LRN (logical resource name) of the webapp-deployer
# eg: "lrn://laconic/deployers/webapp-deployer-api.laconic.com" # eg: "lrn://laconic/deployers/webapp-deployer-api.laconic.com"
@ -113,7 +116,7 @@ Follow steps from <https://git.vdb.to/cerc-io/testnet-ops/src/branch/main/servic
--api-url $API_URL \ --api-url $API_URL \
--public-key-file /home/root/config/$GPG_PUB_KEY_FILE \ --public-key-file /home/root/config/$GPG_PUB_KEY_FILE \
--lrn $DEPLOYER_LRN \ --lrn $DEPLOYER_LRN \
--min-required-payment 0 --min-required-payment 9500
``` ```
* Update `webapp-deployer/config.env` * Update `webapp-deployer/config.env`
@ -124,7 +127,7 @@ Follow steps from <https://git.vdb.to/cerc-io/testnet-ops/src/branch/main/servic
# Add the following so the webapp deployer will support auction requests # Add the following so the webapp deployer will support auction requests
export HANDLE_AUCTION_REQUESTS=true export HANDLE_AUCTION_REQUESTS=true
# Amount that the webapp deployer will bid on auctions # Amount that the webapp deployer will bid on auctions
export AUCTION_BID_AMOUNT=50000 export AUCTION_BID_AMOUNT=9500
``` ```
* Start the webapp deployer * Start the webapp deployer
@ -166,6 +169,7 @@ Follow steps from <https://git.vdb.to/cerc-io/testnet-ops/src/branch/main/servic
```bash ```bash
# URL of the webapp deployer backend # URL of the webapp deployer backend
# eg: https://webapp-deployer-api.pwa.laconic.com
LACONIC_HOSTED_CONFIG_app_api_url= LACONIC_HOSTED_CONFIG_app_api_url=
# URL of the laconic console # URL of the laconic console
LACONIC_HOSTED_CONFIG_app_console_link=https://console-sapo.laconic.com LACONIC_HOSTED_CONFIG_app_console_link=https://console-sapo.laconic.com
@ -216,7 +220,7 @@ Follow the steps given below to connect the webapp-deployer to testnet2
CERC_LACONICD_BOND_ID= CERC_LACONICD_BOND_ID=
# RPC endpoint of the chain, can be pointed to your validator node # RPC endpoint of the chain, can be pointed to your validator node
# eg: http://console-testnet2.laconic.com # eg: https://laconicd-sapo.laconic.com
CERC_LACONICD_RPC_ENDPOINT= CERC_LACONICD_RPC_ENDPOINT=
# GQL endpoint of the chain, can be pointed to your validator node # GQL endpoint of the chain, can be pointed to your validator node
@ -344,6 +348,7 @@ Follow steps from [Update webapp deployer](#update-webapp-deployer) to publish t
```bash ```bash
# api url of webapp deployer # api url of webapp deployer
# eg: https://webapp-deployer-api.pwa.laconic.com
LACONIC_HOSTED_CONFIG_app_api_url= LACONIC_HOSTED_CONFIG_app_api_url=
# url of laconic console # url of laconic console
LACONIC_HOSTED_CONFIG_app_console_link=https://console-sapo.laconic.com LACONIC_HOSTED_CONFIG_app_console_link=https://console-sapo.laconic.com