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 b6fc1aa..5544164 100644 --- a/ops/deployments-from-scratch.md +++ b/ops/deployments-from-scratch.md @@ -1122,7 +1122,7 @@
- snowball-backend + deploy-backend ## Deploy Backend @@ -1193,7 +1193,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 @@ -1344,12 +1344,18 @@
- snowball-frontend + deploy-frontend ## Deploy Frontend * Source repo: +### Prerequisites + +* Node.js + +* Yarn + ### Setup * On your local machine, clone the `snowballtools-base` repo: @@ -1376,12 +1382,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 @@ -1393,7 +1399,7 @@ userKey: bondId: chainId: laconic-testnet-2 - gasPrice: 1alnt + gasPrice: 0.001alnt EOF ``` Note: The `userKey` account should own the authority `vaasl`