Update steps to update deployer app
This commit is contained in:
parent
03df263190
commit
b93f3515a5
@ -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: <https://git.vdb.to/cerc-io/snowballtools-base>
|
||||
@ -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 <https://deploy.laconic.com>
|
||||
|
||||
* **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))
|
||||
|
Loading…
Reference in New Issue
Block a user