frontend-monorepo-190 Add env vars details to stats readme (#202)

This commit is contained in:
Sam Keen 2022-04-06 13:19:48 +01:00 committed by GitHub
parent 5f2b732ff9
commit 69734471fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,16 @@
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
Run `nx test network-stats` to execute the unit tests via [Jest](https://jestjs.io).