From 2829a94e00b13a3f4319934592105762e9ed7a09 Mon Sep 17 00:00:00 2001 From: Shreerang Kale Date: Tue, 19 Aug 2025 17:30:50 +0530 Subject: [PATCH] Update readme --- README.md | 6 +++--- test-runs/README.md | 14 +++++++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 55bd861..4eb4177 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ The lockdrop simulation validates the Zenith Network's token distribution mechan git clone git@git.vdb.to:LaconicNetwork/lockdrop-simulation.git # Set repo directory path for further usage - LOCKDROP_SIMULATION_DIR=$(pwd)/lockdrop-simulation + export LOCKDROP_SIMULATION_DIR=$(pwd)/lockdrop-simulation ``` - **zenith-stack repository** @@ -117,7 +117,7 @@ The lockdrop simulation validates the Zenith Network's token distribution mechan git clone git@git.vdb.to:LaconicNetwork/zenith-stack.git # Set repo directory path for further usage - ZENITH_STACK_DIR=$(pwd)/zenith-stack + export ZENITH_STACK_DIR=$(pwd)/zenith-stack # Checkout to the required version cd $ZENITH_STACK_DIR @@ -253,7 +253,7 @@ First, create the data directory required for simulation (must be same as the pa # Make sure you are in ansible directory cd $ZENITH_STACK_DIR/ansible -DATA_DIRECTORY=$(grep 'data_directory:' inventories/development/group_vars/stage1.yml | awk '{print $2; exit}') +export DATA_DIRECTORY=$(grep 'data_directory:' inventories/development/group_vars/tge.yml | awk '{print $2; exit}') mkdir -p $DATA_DIRECTORY ``` diff --git a/test-runs/README.md b/test-runs/README.md index e671232..7801266 100644 --- a/test-runs/README.md +++ b/test-runs/README.md @@ -73,7 +73,7 @@ To reproduce the results from any one of the test runs, follow these steps to ru git clone git@git.vdb.to:LaconicNetwork/lockdrop-simulation.git # Set repo directory path for further usage - LOCKDROP_SIMULATION_DIR=$(pwd)/lockdrop-simulation + export LOCKDROP_SIMULATION_DIR=$(pwd)/lockdrop-simulation ``` - **zenith-stack repository** @@ -84,7 +84,7 @@ To reproduce the results from any one of the test runs, follow these steps to ru git clone git@git.vdb.to:LaconicNetwork/zenith-stack.git # Set repo directory path for further usage - ZENITH_STACK_DIR=$(pwd)/zenith-stack + export ZENITH_STACK_DIR=$(pwd)/zenith-stack # Checkout to the required version cd $ZENITH_STACK_DIR @@ -217,7 +217,7 @@ First, create the data directory required for simulation (must be same as the pa # Make sure you are in ansible directory cd $ZENITH_STACK_DIR/ansible -DATA_DIRECTORY=$(grep 'data_directory:' inventories/development/group_vars/stage1.yml | awk '{print $2; exit}') +export DATA_DIRECTORY=$(grep 'data_directory:' inventories/development/group_vars/tge.yml | awk '{print $2; exit}') mkdir -p $DATA_DIRECTORY ``` @@ -228,6 +228,14 @@ Now, run required system setup (installs docker and laconic-so): zenith-ansible -i ./inventories/development/hosts.yml ./stage1-site.yml -e "mode=system-setup" -K --skip-tags onboarding ``` +If your machine did not have Docker installed before, the above command will install it. On Ubuntu, you will need to activate the `docker` group for your current shell: + +```bash +newgrp docker +``` + +This is a one time operation required to be performed after installing docker. + Setup the deployment directories and pull required docker images to generate base genesis file along with other artifacts: ```bash