diff --git a/ops/deployments-from-scratch.md b/ops/deployments-from-scratch.md index ab38c12..7582157 100644 --- a/ops/deployments-from-scratch.md +++ b/ops/deployments-from-scratch.md @@ -1038,29 +1038,9 @@ # This should clone the laconicd repo at `/home/dev/cerc/laconicd` ``` -* Build the stage1 container image (required for exporting stage1 data): +* Build the container images: ```bash - # Checkout to laconicd tag used for stage1 - cd ~/cerc/laconicd - git checkout v0.1.7 - cd - - - # Build - laconic-so --stack ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd build-containers --force-rebuild - - # Create required tag - docker tag cerc/laconicd:local cerc/laconicd-stage1:local - ``` - -* Build the stage2 container image: - - ```bash - # Checkout to latest laconicd - cd ~/cerc/laconicd - git checkout main - cd - - laconic-so --stack ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd build-containers --force-rebuild # This should create the "cerc/laconicd" Docker image diff --git a/ops/stage1-to-stage2.md b/ops/stage1-to-stage2.md index a513b21..f0caeeb 100644 --- a/ops/stage1-to-stage2.md +++ b/ops/stage1-to-stage2.md @@ -44,7 +44,7 @@ * Archive the state and node config and keys: ```bash - sudo tar -czf /srv/laconicd/stage1-laconicd-export.tar.gz --exclude="./data" -C $STAGE1_DEPLOYMENT/data/laconicd-data . + sudo tar -czf /srv/laconicd/stage1-laconicd-export.tar.gz --exclude="./data" --exclude="./tmp" -C $STAGE1_DEPLOYMENT/data/laconicd-data . sudo chown dev:dev /srv/laconicd/stage1-laconicd-export.tar.gz ``` @@ -67,7 +67,7 @@ cd /srv/laconicd # Unarchive - tar -xzf stage1-laconicd-config.tar.gz -C stage2-deployment/data/laconicd-data + tar -xzf stage1-laconicd-export.tar.gz -C stage2-deployment/data/laconicd-data # Verify contents ll stage2-deployment/data/laconicd-data