React app created with typescript that defines manages and displays discrete layers image catalog
This project was bootstrapped with Create React App
Install deps with yarn
yarn
Run confd
yarn confd
To generate:
public/env-config.js <- For env variables
public/index.html <- For PUBLIC_URL, to support non-root URL
To use app env variables inside a docker, run the following command
node ./confd/generate-config.js --environment production --indocker
Start app
yarn start
To run tests, run the following command
yarn test
It will run in an interactive mode
See running tests
To prepare the code for deployment, run the following command
yarn build
It bundles react app with production mode and optimizes performance
See deployment
Important
We depend on Red-Hat Yaml Extension
for validating the values files against the relevant schemas from helm-common.
That means, you should install the extension from vscode in order to be able to edit values files according to our schemas.
To update helm dependencies
yarn helm-update
In order to create/renew values schemas
yarn helm-assets
To deploy: helm values MUST be combined from global.yaml and values.yaml (use npm script!)
yarn helm-install
See helm values