From b93f3515a5089ea62efe6c7eefd4b261cc8455ca Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Sat, 14 Jun 2025 18:02:43 +0530 Subject: [PATCH] Update steps to update deployer app --- docs/update-deployments.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/docs/update-deployments.md b/docs/update-deployments.md index b311efe..4659a46 100644 --- a/docs/update-deployments.md +++ b/docs/update-deployments.md @@ -251,6 +251,12 @@ Instructions to reset / update the deployments * Deployment dir: `/srv/deploy-backend/laconic-backend-deployment` +* Stop the deployment: + + ```bash + laconic-so deployment --dir laconic-backend-deployment stop + ``` + * If code has changed, fetch and build with updated source code: ```bash @@ -298,11 +304,15 @@ Instructions to reset / update the deployments * Restart the deployment: ```bash - laconic-so deployment --dir laconic-backend-deployment stop - laconic-so deployment --dir laconic-backend-deployment start ``` +* Check logs: + + ```bash + laconic-so deployment --dir laconic-backend-deployment logs snowballtools-base-backend + ``` + ## Deploy Frontend * Source repo: @@ -363,6 +373,12 @@ Instructions to reset / update the deployments Note: The `userKey` account should own the authority `laconic-deploy` +* Update the `deploy-frontend.sh` script to use mainnet chain id: + + ```bash + sed -i 's/laconic-testnet-2/laconic-mainnet/g' ./deploy-frontend.sh + ``` + ### Run * Run frontend deployment script: @@ -374,3 +390,5 @@ Instructions to reset / update the deployments Follow deployment logs on the deployer UI * On a successful deployment, the frontend can be viewed at + +* **NOTE**: Update the CI and deployment scripts in deployer app once mainnet is launched ([PR](https://git.vdb.to/cerc-io/snowballtools-base/pulls/58))