Skip to content

Commit

Permalink
Merge pull request IntersectMBO#2445 from IntersectMBO/fix_readme_dev…
Browse files Browse the repository at this point in the history
…_cluster

Swap order of steps needed for dev cluster
  • Loading branch information
mkoura authored Jun 14, 2024
2 parents e266df8 + 0e5dfc9 commit a569acc
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 a569acc

Please sign in to comment.