/explorer-mvs

Primary LanguageJavaScriptEclipse Public License 2.0EPL-2.0

explorer-mvs

Code Quality

Build

Install Dependencies

npm install

Note: Requires access to npm registry with orion-editor-component https://gizaartifactory.jfrog.io/gizaartifactory/webapp/#/artifacts/browse/tree/General/npm-release

Update npm.rc or run

npm config set registry https://gizaartifactory.jfrog.io/gizaartifactory/api/npm/npm-release/
npm login

Build for Development

npm run dev

Then you can visit http://localhost:8080 to test.

Build for Production

npm run prod

Prepare PAX Packaging Workspace

./.pax/prepare-workspace.sh

Start With explorer-ui-server

After preparing PAX workspace, you can serve the explorer UI with explorer-ui-server:

node .pax/ascii/server/src/index.js --config .pax/ascii/server/configs/config.json

Run SonarQube Code Analysis

Install SonarQube Scanner.

If you are using Mac, try install with HomeBrew sonar-scanner formula, then update the configuration of SonarQube server at /usr/local/Cellar/sonar-scanner/<version>/libexec/conf/sonar-scanner.properties.

Example scanner configurations:

sonar.host.url=https://jayne.zowe.org:9000
sonar.login=<hash>

Then you can run sonar-scanner to start code analysis.

Build pipeline has embedded the SonarQube code analysis stage.