20 lines
578 B
Markdown
20 lines
578 B
Markdown
|
# environment
|
||
|
|
||
|
This library was generated with [Nx](https://nx.dev).
|
||
|
|
||
|
## Prerequisites
|
||
|
|
||
|
The environment variables needed 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.
|
||
|
|
||
|
`NX_VEGA_URL` OR `NX_VEGA_CONFIG_URL` - either the network configuration url or a url to a node to directly connect to
|
||
|
|
||
|
For examples, see Block Explorer's .env files [here](../../apps/explorer)
|
||
|
|
||
|
## Running unit tests
|
||
|
|
||
|
Run `nx test environment` to execute the unit tests via [Jest](https://jestjs.io).
|