The dataset publishing UI used for datasets on the ONS website.
To run dis-data-admin-ui locally:
-
nvm installed:
brew install nvm
⚠️ Make sure to follow the instructions provided at the end of the install to configure up your shell profile. -
The node version specified in
.nvmrc
installed through nvm:nvm install
-
Start the app:
make debug
There are other ONS digital applications that you'll need to run to allow dis-data-admin-ui to work end-to-end:
Environment variable | Default | Description |
---|---|---|
BIND_ADDR | :29400 | The host and port to bind to |
API_ROUTER_URL | http://localhost:23200/v1 | URL of API Router |
GRACEFUL_SHUTDOWN_TIMEOUT | 5s | The graceful shutdown timeout in seconds (time.Duration format) |
HEALTHCHECK_INTERVAL | 30s | Time between self-healthchecks (time.Duration format) |
HEALTHCHECK_CRITICAL_TIMEOUT | 90s | Time to wait until an unhealthy dependent propagates its state to make this app unhealthy (time.Duration format) |
See CONTRIBUTING for details.
Copyright © 2024, Office for National Statistics (https://www.ons.gov.uk)
Released under MIT license, see LICENSE for details.