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
yarnRun confd
yarn confdTo 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 --indockerStart app
yarn startTo run tests, run the following command
yarn testIt will run in an interactive mode
See running tests
To prepare the code for deployment, run the following command
yarn buildIt 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-updateIn order to create/renew values schemas
yarn helm-assetsTo deploy: helm values MUST be combined from global.yaml and values.yaml (use npm script!)
yarn helm-installSee helm values