Skip to content

Commit 20ba3e0

Browse files
committed
Added config explanation to README.
1 parent 9dc9995 commit 20ba3e0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,15 @@ docker build . -t zero-deployable-backend
8484

8585
docker run -p 8080:8080 -e SERVER_PORT=8080 -e POD_NAME="Fake POD name." zero-deployable-backend
8686
```
87+
88+
### Environment Configs
89+
90+
These are set by `REACT_APP_CONFIG` enviroment variable at build time. This corresponds to a json file in the config directory.
91+
92+
For example to build the staging site and host it you would use:
93+
94+
```zsh
95+
REACT_APP_CONFIG=staging yarn build
96+
97+
serve -s build
98+
```

0 commit comments

Comments
 (0)