Update readme
This commit is contained in:
parent
a7d83e084b
commit
2829a94e00
@ -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
|
||||
```
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user