Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 947 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 947 Bytes

sonar-ui

A web UI use and explore Sonar collections.

React single page application. Uses sonar-client to talk to sonar-server over HTTP.

Usage

The Sonar UI is served whenever you start Sonar. If you start Sonar with ./sonar start --dev, a development server for UI development with hot reloading is mounted on http://localhost:9191/ui-dev.

You can also start the UI standalone:

# build the UI
node bin.js ui build

# serve the UI (needs `build` first)
node bin.js ui start

# serve the UI in live dev mode
node bin.js ui dev

This opens a dev server on http://localhost:55555. It needs a running sonar-server to work.

Building

  • npm run build - build js and html into dist
  • npm run build:static - build the ui into a single HTML file under dist/index.html