Add steps to update fixturenet-eth, nitro-bridge and laconic-shopify deployments
This commit is contained in:
parent
c1af2f6cc7
commit
b3ec441b34
@ -254,3 +254,88 @@ Instructions to reset / update the deployments
|
|||||||
```
|
```
|
||||||
|
|
||||||
* The laconic console can now be viewed at <https://loro-console.laconic.com>
|
* The laconic console can now be viewed at <https://loro-console.laconic.com>
|
||||||
|
|
||||||
|
## Fixturenet Eth
|
||||||
|
|
||||||
|
* Stack: <https://git.vdb.to/cerc-io/fixturenet-eth-stacks>
|
||||||
|
|
||||||
|
* Target dir: `/srv/fixturenet-eth/fixturenet-eth-deployment`
|
||||||
|
|
||||||
|
* If code has changed, fetch and build with updated source code:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd ~/cerc/fixturenet-eth-stacks
|
||||||
|
|
||||||
|
# Pull latest changes, or checkout to the required branch
|
||||||
|
git pull
|
||||||
|
|
||||||
|
# Confirm the latest commit hash
|
||||||
|
git log
|
||||||
|
|
||||||
|
# Rebuild the containers
|
||||||
|
cd /srv/fixturenet-eth
|
||||||
|
|
||||||
|
laconic-so --stack ~/cerc/fixturenet-eth-stacks/stack-orchestrator/stacks/fixturenet-eth build-containers --force-rebuild
|
||||||
|
```
|
||||||
|
|
||||||
|
* Update the configuration, if required in `fixturenet-eth-deployment/config.env`
|
||||||
|
|
||||||
|
```bash
|
||||||
|
CERC_ALLOW_UNPROTECTED_TXS=true
|
||||||
|
```
|
||||||
|
|
||||||
|
* Restart the deployment:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
laconic-so deployment --dir fixturenet-eth-deployment stop
|
||||||
|
|
||||||
|
laconic-so deployment --dir fixturenet-eth-deployment start
|
||||||
|
```
|
||||||
|
|
||||||
|
## Nitro Bridge
|
||||||
|
|
||||||
|
* Stack: <https://git.vdb.to/cerc-io/nitro-stack/src/branch/main/stack-orchestrator/stacks/bridge>
|
||||||
|
|
||||||
|
* Target dir: `/srv/bridge/bridge-deployment`
|
||||||
|
|
||||||
|
* Rebuild containers:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Rebuild the containers
|
||||||
|
cd /srv/bridge
|
||||||
|
|
||||||
|
laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge build-containers --force-rebuild
|
||||||
|
```
|
||||||
|
|
||||||
|
* Restart the bridge deployment
|
||||||
|
|
||||||
|
```bash
|
||||||
|
laconic-so deployment --dir bridge-deployment stop
|
||||||
|
|
||||||
|
laconic-so deployment --dir bridge-deployment start
|
||||||
|
```
|
||||||
|
|
||||||
|
## Laconic Shopify
|
||||||
|
|
||||||
|
* Stack: <https://git.vdb.to/cerc-io/shopify>
|
||||||
|
|
||||||
|
* Target dir: `/srv/shopify/laconic-shopify-deployment`
|
||||||
|
|
||||||
|
* If code has changed, fetch and build with updated source code:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-shopify setup-repositories --pull --git-ssh --pull
|
||||||
|
|
||||||
|
# rebuild containers
|
||||||
|
laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-shopify build-containers --force-rebuild
|
||||||
|
```
|
||||||
|
|
||||||
|
* Restart the deployment
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd /srv/shopify
|
||||||
|
|
||||||
|
laconic-so deployment --dir laconic-shopify-deployment stop
|
||||||
|
|
||||||
|
laconic-so deployment --dir laconic-shopify-deployment start
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user