From 4ef37424702b9b04afc5c1479e05ef61e4d6daba Mon Sep 17 00:00:00 2001 From: Mike Czarny Date: Wed, 10 Mar 2021 13:51:06 -0800 Subject: [PATCH] docs(testnet-node): Add section on ENV vars --- src/pages/understand-stacks/running-testnet-node.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pages/understand-stacks/running-testnet-node.md b/src/pages/understand-stacks/running-testnet-node.md index 3edf31a6..6db20791 100644 --- a/src/pages/understand-stacks/running-testnet-node.md +++ b/src/pages/understand-stacks/running-testnet-node.md @@ -93,6 +93,14 @@ Clone this repository: git clone https://github.com/blockstack/stacks-blockchain.git; cd stacks-blockchain ``` +Optionally, set env vars for a specific version, commit hash and branch: + +```bash +export STACKS_NODE_VERSION=2.0.9 +export GIT_BRANCH=master +export GIT_COMMIT=e7f178b +``` + Install the Stacks node by running: ```bash