Merge pull request #188 from apache/5.0.0/beta2

Update iconfont.svg
tree: e747b82493323955e82a56fcfa709f8082f0cd9e
  1. .editorconfig
  2. .eslintrc
  3. .gitignore
  4. .roadhogrc.mock.js
  5. .stylelintrc
  6. .travis.yml
  7. .webpackrc.js
  8. CODE_OF_CONDUCT.md
  9. CONTRIBUTING.md
  10. DISCLAIMER
  11. LICENSE
  12. README.md
  13. gendistmodules.js
  14. mock/
  15. package-lock.json
  16. package.json
  17. public/
  18. src/
  19. tests/
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