Skip to content

Commit

Permalink
Mention spawn.bash script in tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Dec 18, 2024
1 parent 63e67dd commit 4337b55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/tutorials/channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -1356,3 +1356,10 @@ Et voila, we are now running a 3 nodes local testnet!
If the nodes are not started concurrently, you may see that it takes a little while until they synchronize between themselves and end up on the same round.
After that, consensus should start running normally and decide on values very quickly.

Alternatively, you can copy the [`spawn.bash`](/code/examples/channel/spawn.bash) script from the example app at the root of the project and spawn multiple nodes concurrently with:

```
$ bash spawn.bash --nodes 3 --home nodes --app tutorial
```

The logs for each node can then be found at `nodes/X/logs/node.log`.

0 comments on commit 4337b55

Please sign in to comment.