Use UrbanOS-Public/discovery-ui instead - https://github.com/UrbanOS-Public/discovery_ui
Discovery UI provides Columbus specific branding and navigation controls around the react-discovery-ui component. This allows for the base components to be brand agnostic.
npm install
npm run test
npm run test-watch
Unit tests will output warnings relate to accessibility. Configurations
are found in test-start-point.js
npm run lint
Runtime configurations are stored in config/config.js.
-
API_HOST This application is designed to be used with discovery-api as the backend. Set this value to the URL of the local
discovery-api
endpoint. -
GTM_ID Set this value to the Google Tag Manager ID to enable analytics.
-
BASE_URL The domain that the site will be hosted on
npm run start
You can view the UI in your web browser at http://localhost:9001
docker build . -t <image name>:<tag>
docker run -d --rm -p <port>:80 <image name>:<tag>