Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

apache/skywalking-ui

Repository files navigation

Apache SkyWalking UI

Sky Walking logo

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

Command Description
npm start Starts development server with hot reloading and mock.
npm run start:no-mock Starts development server to access collector
npm test Runs all the tests
npm run lint Lint the project (eslint, stylelint)
npm run build Runs production build. Outputs files to /dist.

Build

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

npm install
npm run build