frontend-monorepo-190 Add env vars details to stats readme (#202)
This commit is contained in:
parent
5f2b732ff9
commit
69734471fd
@ -2,6 +2,16 @@
|
|||||||
|
|
||||||
This library was generated with [Nx](https://nx.dev).
|
This library was generated with [Nx](https://nx.dev).
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
Two environment variables need to be present for any app consuming this library.
|
||||||
|
|
||||||
|
`NX_VEGA_ENV` is the name of the environment.
|
||||||
|
|
||||||
|
`NX_VEGA_REST` is the REST endpoint for the environment.
|
||||||
|
|
||||||
|
For examples, see Block Explorer's .env files [here](../../apps/explorer)
|
||||||
|
|
||||||
## Running unit tests
|
## Running unit tests
|
||||||
|
|
||||||
Run `nx test network-stats` to execute the unit tests via [Jest](https://jestjs.io).
|
Run `nx test network-stats` to execute the unit tests via [Jest](https://jestjs.io).
|
||||||
|
Loading…
Reference in New Issue
Block a user