tree: e747b82493323955e82a56fcfa709f8082f0cd9e [path history] [tgz]
  1. mock/
  2. public/
  3. src/
  4. tests/
  5. .editorconfig
  6. .eslintrc
  7. .gitignore
  8. .roadhogrc.mock.js
  9. .stylelintrc
  10. .travis.yml
  11. .webpackrc.js
  12. CODE_OF_CONDUCT.md
  13. CONTRIBUTING.md
  14. DISCLAIMER
  15. gendistmodules.js
  16. LICENSE
  17. package-lock.json
  18. package.json
  19. README.md
README.md

Apache SkyWalking UI

The UI for Apache SkyWalking.

Build Status Join the chat

Contributing

See CONTRIBUTING.

Development

The app was built with dva framework.

Getting codes

Fork, then clone the incubator-skywalking-ui repo and change directory into it.

git clone https://github.com/apache/incubator-skywalking-ui.git
cd incubator-skywalking-ui

Install dependencies via npm:

npm install

Running the application

Mock mode

This mode is suitable for developing locally.

npm start

No-Mock mode

This mode is suitable for e2e test with backend collector.

npm run start:no-mock

The default collector query address is http://localhost:12800. You can change this address by editing .webpack.js file.

Commands

CommandDescription
npm startStarts development server with hot reloading and mock.
npm run start:no-mockStarts development server to access collector
npm testRuns all the tests
npm run lintLint the project (eslint, stylelint)
npm run buildRuns production build. Outputs files to /dist.

Build

Running build will output all the static files to the ./dist folder:

npm install
npm run build