Skip to content

Commit

Permalink
Swap order of steps needed for dev cluster
Browse files Browse the repository at this point in the history
The env variables need to be already set before running `prepare-cluster-scripts`.
  • Loading branch information
mkoura committed Jun 14, 2024
1 parent e266df8 commit 0e5dfc9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ When running tests, the testing framework starts and stops cluster instances as
1. cd back to 'cardano-node-tests' repo
```sh
cd ../cardano-node-test
cd ../cardano-node-tests
```
1. activate virtual env
Expand All @@ -179,18 +179,18 @@ When running tests, the testing framework starts and stops cluster instances as
export PYTHONPATH="$(echo $VIRTUAL_ENV/lib/python3*/site-packages)":$PYTHONPATH
```
1. prepare cluster scripts for starting local cluster directly in Babbage era
1. set env variables
```sh
mkdir -p dev_workdir
prepare-cluster-scripts -c -d dev_workdir/babbage_fast -s cardano_node_tests/cluster_scripts/babbage_fast/
export CARDANO_NODE_SOCKET_PATH="$PWD/dev_workdir/state-cluster0/bft1.socket" DEV_CLUSTER_RUNNING=1
mkdir -p "${CARDANO_NODE_SOCKET_PATH%/*}"
```
1. set env variables
1. prepare cluster scripts for starting local cluster directly in Babbage era
```sh
export CARDANO_NODE_SOCKET_PATH="$PWD/dev_workdir/state-cluster0/bft1.socket" DEV_CLUSTER_RUNNING=1
mkdir -p "${CARDANO_NODE_SOCKET_PATH%/*}"
mkdir -p dev_workdir
prepare-cluster-scripts -c -d dev_workdir/babbage_fast -s cardano_node_tests/cluster_scripts/babbage_fast/
```
1. start the cluster instance in development mode
Expand Down

0 comments on commit 0e5dfc9

Please sign in to comment.