commit 56f9416428c652c0c6eb2f5938d0932da61ec0b6
parent eaa8acdbfdfd20ed1a27c41fd6c9c4437d71ae74
Author: triesap <tyson@radroots.org>
Date: Thu, 5 Feb 2026 15:59:14 +0000
docs: update env setup to radroots
- replace vite env names with radroots
- add app env example for local overrides
- keep localhost relay defaults aligned
- keep setup instructions focused
Diffstat:
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
@@ -69,13 +69,12 @@ yarn
```
-Configure local environment variables:
+Configure local environment variables (optional overrides):
```bash
-echo 'VITE_PUBLIC_DEFAULT_RELAYS=ws://localhost:8080,ws://localhost:8081
-VITE_PUBLIC_RADROOTS_RELAY=ws://localhost:8082
-VITE_PUBLIC_RADROOTS_API=https://radroots.org
-VITE_PUBLIC_KEYVAL_NAME=rad-roots-pwa-dev-v1
-VITE_PUBLIC_NOSTR_CLIENT=ยป-`-,- rad roots' > app/.env.development
+cat <<'EOF' > app/.env
+RADROOTS_DEFAULT_RELAYS=ws://localhost:8080,ws://localhost:8081
+RADROOTS_RELAY=ws://localhost:8082
+EOF
```
Build the application:
@@ -105,4 +104,4 @@ yarn dev
## License
-Refer to the LICENSE file in the repository for terms of use and distribution.
-\ No newline at end of file
+Refer to the LICENSE file in the repository for terms of use and distribution.
diff --git a/app/.env.example b/app/.env.example
@@ -0,0 +1,2 @@
+RADROOTS_DEFAULT_RELAYS=ws://localhost:8080,ws://localhost:8081
+RADROOTS_RELAY=ws://localhost:8082