From d73c733a7e6720698c0e9d4a8ac2f2ab74c641de Mon Sep 17 00:00:00 2001 From: Adw8 Date: Mon, 28 Oct 2024 10:43:36 +0530 Subject: [PATCH] Update URLs in snowball backend config --- ops/configs/backend-config.toml | 20 ++++++++++---------- ops/deployments-from-scratch.md | 18 ++++++++++++------ 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/ops/configs/backend-config.toml b/ops/configs/backend-config.toml index 11350b5..246ab36 100644 --- a/ops/configs/backend-config.toml +++ b/ops/configs/backend-config.toml @@ -5,17 +5,17 @@ [server.session] secret = "" # Frontend webapp URL origin - appOriginUrl = "https://deploy.pwa.mito.com" + appOriginUrl = "https://deploy.apps.vaasl.io" # Set to true if server running behind proxy trustProxy = true # Backend URL hostname - domain = "deploy-backend.pwa.mito.com" + domain = "deploy-backend.apps.vaasl.io" [database] - dbPath = "/data/db/snowball" + dbPath = "/data/db/deploy-backend" [gitHub] - webhookUrl = "https://deploy-backend.pwa.mito.com" + webhookUrl = "https://deploy-backend.apps.vaasl.io" [gitHub.oAuth] clientId = "" clientSecret = "" @@ -28,13 +28,13 @@ chainId = "laconic-testnet-2" privateKey = "" bondId = "" - authority = "deploy" + authority = "vaasl" [registryConfig.fee] - gasPrice = "1alnt" + gasPrice = "0.001alnt" [auction] - commitFee = "100000" - commitsDuration = "120s" - revealFee = "100000" - revealsDuration = "120s" + commitFee = "1000" + commitsDuration = "60s" + revealFee = "1000" + revealsDuration = "60s" denom = "alnt" diff --git a/ops/deployments-from-scratch.md b/ops/deployments-from-scratch.md index 3aed546..26ad9d0 100644 --- a/ops/deployments-from-scratch.md +++ b/ops/deployments-from-scratch.md @@ -1239,7 +1239,7 @@
- snowball-backend + deploy-backend ## Deploy Backend @@ -1310,7 +1310,7 @@ ```bash stack: - /home/dev/cerc/snowballtools-base-api-stack/stack-orchestrator/stacks/snowballtools-base-backend + /home/dev/cerc/snowballtools-base-api-stack/stack-orchestrator/stacks/snowballtools-base-backend deploy-to: k8s kube-config: /home/dev/.kube/config-vs-narwhal.yaml image-registry: container-registry.apps.vaasl.io/laconic-registry @@ -1461,12 +1461,18 @@
- snowball-frontend + deploy-frontend ## Deploy Frontend * Source repo: +### Prerequisites + +* Node.js + +* Yarn + ### Setup * On your local machine, clone the `snowballtools-base` repo: @@ -1493,12 +1499,12 @@ ```bash REGISTRY_BOND_ID= - DEPLOYER_LRN= + DEPLOYER_LRN=lrn://vaasl-provider/deployers/webapp-deployer-api.apps.vaasl.io AUTHORITY=vaasl ``` Note: The bond id should be set to the `vaasl` authority -* Update required laconic config. You can use the same `userKey` and `bondId` used for snowball-backend: +* Update required laconic config. You can use the same `userKey` and `bondId` used for deploying backend: ```bash # Replace and @@ -1510,7 +1516,7 @@ userKey: bondId: chainId: laconic-testnet-2 - gasPrice: 1alnt + gasPrice: 0.001alnt EOF ``` Note: The `userKey` account should own the authority `vaasl`