visual-qontract is the web UI for the data served by AppSRE's team qontract-server instance.
It is written in React and uses PatternFly 3 as the UI framework.
$ cp public/env/env.js.example public/env/env.js
$ make dev-docker-runThe visual-qontract UI will be reachable on http://localhost:8080
$ cp public/env/env.js.example public/env/env.js
$ yarn
$ yarn build
$ yarn start:devThe server will then run on http://localhost:3000
For debugging start the server locally with:
$ yarn start:localAdd a debugging after the service is started, use debugger, anywhere where you want to debug.
Open the corresponding page in Chrome with the inspection window open. The debugger will stop at the debugger statement.