From 80bbd5d7f409a62db904512d2ca68c03d96b09b4 Mon Sep 17 00:00:00 2001 From: Vojtech Simetka Date: Tue, 10 Oct 2023 13:23:46 +0200 Subject: [PATCH] docs: document the env variables --- .env | 4 ++-- README.md | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 6d6937e1..bd1023a6 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ -PUBLIC_BLOCKCHAIN='gnosis' -PUBLIC_WAKU='production' +PUBLIC_BLOCKCHAIN=gnosis +PUBLIC_WAKU=production diff --git a/README.md b/README.md index f609d3ee..ae7684cb 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,27 @@ pnpm build You can preview the production build with `pnpm preview`. +## Config + +Use env variables to specify: + +```bash +# Which waku node to connect to +# Options: +# local single waku node running in docker +# production waku nodes used for production deployment +# Defaults to +PUBLIC_WAKU='production' + +# Which blockchain to connect to +# Options: +# local local chain running in docker +# chiado chiado testnet +# gnosis gnosis mainnet +# Defaults to +PUBLIC_BLOCKCHAIN='gnosis' +``` + ## CLI There is a built-in command line tool for making development easier.