README formatting

This commit is contained in:
Ladd Hoffman 2024-12-22 17:32:00 -06:00
parent 85398249fd
commit f258883905
1 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
## Setup ## Setup
Install nodejs - Install nodejs
Install [nvm](https://nvm.sh) - Install [nvm](https://nvm.sh)
## Install ## Install
@ -30,12 +30,14 @@ To demonstrate the example application, you can open multiple terminals. In each
export RHIZOME_PEER_ID=peer1 export RHIZOME_PEER_ID=peer1
node dist/example-app.js node dist/example-app.js
export RHIZOME_REQUEST_BIND_PORT=4002 export RHIZOME_REQUEST_BIND_PORT=4002
export RHIZOME_PUBLISH_BIND_PORT=4003 export RHIZOME_PUBLISH_BIND_PORT=4003
export RHIZOME_SEED_PEERS='127.0.0.1:4000, 127.0.0.1:4004' export RHIZOME_SEED_PEERS='127.0.0.1:4000, 127.0.0.1:4004'
export RHIZOME_PEER_ID=peer2 export RHIZOME_PEER_ID=peer2
node dist/example-app.js node dist/example-app.js
export RHIZOME_REQUEST_BIND_PORT=4004 export RHIZOME_REQUEST_BIND_PORT=4004
export RHIZOME_PUBLISH_BIND_PORT=4005 export RHIZOME_PUBLISH_BIND_PORT=4005
export RHIZOME_SEED_PEERS='127.0.0.1:4000, 127.0.0.1:4002' export RHIZOME_SEED_PEERS='127.0.0.1:4000, 127.0.0.1:4002'