Update:fix #2114 datas are too much (#217)

3 files changed
tree: d2b3937de2ff50653d17ee0b92abd60b8954b04e
  1. mock/
  2. public/
  3. src/
  4. tests/
  5. .editorconfig
  6. .eslintrc.js
  7. .gitignore
  8. .gitmodules
  9. .prettierignore
  10. .prettierrc
  11. .roadhogrc.mock.js
  12. .stylelintrc
  13. .travis.yml
  14. .webpackrc.js
  15. CODE_OF_CONDUCT.md
  16. CONTRIBUTING.md
  17. DISCLAIMER
  18. gendistmodules.js
  19. jest.config.js
  20. LICENSE
  21. package-lock.json
  22. package.json
  23. 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. Use username:admin, password:888888 to login system.

npm start

No-Mock mode

This mode is suitable for e2e test with backend collector. No webapp proxy required.

npm run start:no-proxy

The default collector query address is http://localhost:12800. You can change this address by editing .webpack.js file. From 5.0.0-beta2, login auth is supported, but without webapp proxy, there is no one to take charge of authentication, so we need specific processes to login in this mode.

  1. Start up in Mock mode.
  2. Do login by username:admin, password:888888. (Now, browser saved authentication in local storage)
  3. Stop and restart in No-Mock mode.
  4. You could access without username/password and webapp proxy.

Commands

CommandDescription
npm startStarts development server with hot reloading and mock.
npm run start:no-proxyStarts 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