Skip to content

Commit f1d8700

Browse files
committed
fix(bdd): updated documentation and environment exmaples
1 parent e955bf5 commit f1d8700

File tree

2 files changed

+23
-15
lines changed

2 files changed

+23
-15
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,27 @@ git clone https://github.com/Greenstand/treetracker-wallet-app.git
3232
cd treetracker-wallet-app && yarn install
3333
```
3434

35+
### 🔧 **Environment Variables**
36+
```bash
37+
# Setup environment (first time only)
38+
39+
# For backend user api and bdds
40+
cp apps/user/.env.example apps/user/.dev.env
41+
# → Edit .dev.env with your configuration
42+
43+
# For web development and bdd
44+
cp apps/web/.env.example apps/user/.env
45+
# → Edit .env with your configuration
46+
47+
# For keycloak package e2e testing
48+
cp packages/keycloak/.env.example packages/keycloak/.env
49+
# → Edit .env with your configuration
50+
51+
# For wallet package e2e testing
52+
cp packages/wallet/.env.example packages/wallet/.env
53+
# → Edit .env with your configuration
54+
```
55+
3556
### 🏃‍♂️ Start Development
3657

3758
#### Option 1: Quick Web Development

apps/web/.env.example

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,2 @@
1-
2-
NEXT_PUBLIC_WALLET_APP_API=http://localhost:8080
3-
4-
5-
NEXT_PUBLIC_BASE_URL=http://localhost:3000
6-
7-
# this is for the keycloak API
8-
KEYCLOAK_REALM = treetracker
9-
10-
KEYCLOAK_BASE_URL = https://dev-k8s.treetracker.org/keycloak
11-
12-
KEYCLOAK_CLIENT_SECRET =
13-
14-
KEYCLOAK_CLIENT_ID = wallet-app-user-dev-svc
15-
1+
NEXT_PUBLIC_WALLET_APP_API = http://localhost:8080
2+
NEXT_PUBLIC_TREETRACKER_API = # Get from slack

0 commit comments

Comments
 (0)