Update stage1 deployment directory

This commit is contained in:
Prathamesh Musale 2024-10-29 10:15:39 +05:30
parent 9b47aa42b1
commit 436dfb0bfe
3 changed files with 13 additions and 5 deletions

View File

@ -937,6 +937,9 @@
```bash
laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console deploy create --spec-file laconic-console-testnet2-spec.yml --deployment-dir laconic-console-testnet2-deployment
# Place console deployment in the same cluster as stage2 deployment
cp ../stage2-deployment/deployment.yml laconic-console-testnet2-deployment/deployment.yml
```
* Update the configuration:
@ -945,6 +948,9 @@
cat <<EOF > laconic-console-testnet2-deployment/config.env
# Laconicd (hosted) GQL endpoint
LACONIC_HOSTED_ENDPOINT=https://laconicd-sapo.laconic.com
# laconicd chain id
CERC_LACONICD_CHAIN_ID=laconic-testnet-2
EOF
```

View File

@ -16,15 +16,17 @@
```bash
# On stage1 deployment machine
cd /srv/laconicd
STAGE1_DEPLOYMENT=/srv/laconicd/testnet-laconicd-deployment
laconic-so deployment --dir stage1-deployment logs laconicd -f --tail 30
laconic-so deployment --dir $STAGE1_DEPLOYMENT logs laconicd -f --tail 30
# Note: stage1 node on deployments VM has been changed to run from /srv/laconicd/testnet-laconicd-deployment instead of /srv/laconicd/stage1-deployment
```
* Stop the stage1 deployment:
```bash
laconic-so deployment --dir stage1-deployment stop
laconic-so deployment --dir $STAGE1_DEPLOYMENT stop
# Stopping this deployment marks the end of testnet stage1
```
@ -34,8 +36,6 @@
* Export the chain state:
```bash
STAGE1_DEPLOYMENT=/srv/laconicd/stage1-deployment
docker run -it \
-v $STAGE1_DEPLOYMENT/data/laconicd-data:/root/.laconicd \
cerc/laconicd-stage1:local bash -c "laconicd export | jq > /root/.laconicd/stage1-state.json"

View File

@ -63,6 +63,8 @@
```bash
laconic-so fetch-stack git.vdb.to/cerc-io/testnet-laconicd-stack
# See stack documentation stack-orchestrator/stacks/testnet-laconicd/README.md for more details
```
* Clone required repositories: