diff --git a/defradb_versioned_docs/version-0.19.0/getting-started.md b/defradb_versioned_docs/version-0.19.0/getting-started.md index 615fcbc..9e6f328 100644 --- a/defradb_versioned_docs/version-0.19.0/getting-started.md +++ b/defradb_versioned_docs/version-0.19.0/getting-started.md @@ -43,7 +43,7 @@ If a `.env` file is available in the working directory, the secret can be stored Keys will be randomly generated on the initial start of the node if they are not found. To generate keys: ```bash -DEFRA_KEYRING_SECRET= +export DEFRA_KEYRING_SECRET= defradb keyring generate ``` @@ -329,7 +329,7 @@ Let's go through an example of two nodes (*nodeA* and *nodeB*) connecting with e In the first terminal, start *nodeA* with a default configuration: ```bash -DEFRA_KEYRING_SECRET= +export DEFRA_KEYRING_SECRET= defradb start ``` @@ -343,7 +343,7 @@ echo $PEER_ID In this second terminal, start *nodeB*, configured to connect with *nodeA*: ```bash -DEFRA_KEYRING_SECRET= +export DEFRA_KEYRING_SECRET= defradb start --rootdir ~/.defradb-nodeB --url localhost:9182 --p2paddr /ip4/127.0.0.1/tcp/9172 --peers /ip4/127.0.0.1/tcp/9171/p2p/$PEER_ID ``` diff --git a/docs/defradb/getting-started.md b/docs/defradb/getting-started.md index 615fcbc..9e6f328 100644 --- a/docs/defradb/getting-started.md +++ b/docs/defradb/getting-started.md @@ -43,7 +43,7 @@ If a `.env` file is available in the working directory, the secret can be stored Keys will be randomly generated on the initial start of the node if they are not found. To generate keys: ```bash -DEFRA_KEYRING_SECRET= +export DEFRA_KEYRING_SECRET= defradb keyring generate ``` @@ -329,7 +329,7 @@ Let's go through an example of two nodes (*nodeA* and *nodeB*) connecting with e In the first terminal, start *nodeA* with a default configuration: ```bash -DEFRA_KEYRING_SECRET= +export DEFRA_KEYRING_SECRET= defradb start ``` @@ -343,7 +343,7 @@ echo $PEER_ID In this second terminal, start *nodeB*, configured to connect with *nodeA*: ```bash -DEFRA_KEYRING_SECRET= +export DEFRA_KEYRING_SECRET= defradb start --rootdir ~/.defradb-nodeB --url localhost:9182 --p2paddr /ip4/127.0.0.1/tcp/9172 --peers /ip4/127.0.0.1/tcp/9171/p2p/$PEER_ID ```