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
npm run dev
Then you can visit http://localhost:8080 to test.
npm run prod
./.pax/prepare-workspace.sh
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
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.