This is the frontend application for Insights Remediations. It is based on the insights-frontend-starter-app.
Insights Proxy configured under PROXY_PATH
is required to run this application.
SPANDX_CONFIG="./config/spandx.config.js" bash $PROXY_PATH/scripts/run.sh
This setup will forward API calls to CI/QA/PROD instance. Alternatively, API calls can be forwarded to a locally-running API instance using a remediations-specific configuration:
SPANDX_CONFIG="./config/spandx.config.local.js" bash $PROXY_PATH/scripts/run.sh
npm install
npm start
Run npm run verify
to run build, linters and tests
Use remediations:debug
localStorage entry to unlock testing utilities in the UI (localStorage.setItem('remediations:debug', true)
)
Any change commited to the master
branch is automatically promoted to /beta
in all environments.
Any change commited to the stable
branch is automatically promoted to the main version of the application in all environments.