commit | 875eea3ec10524f6714c6f15ee0270b794b8aeae | [log] [tgz] |
---|---|---|
author | Gao Hongtao <hanahmily@gmail.com> | Mon Dec 10 22:27:50 2018 +0800 |
committer | Gao Hongtao <hanahmily@gmail.com> | Mon Dec 10 22:27:50 2018 +0800 |
tree | d272316ab80ff95d2b7994310db1894ff790fab8 | |
parent | 56f2d9a4b503db382aa6949bac6c9c9ee3b0bca6 [diff] |
Fix #206
The UI for Apache SkyWalking.
See CONTRIBUTING.
The app was built with dva framework.
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
This mode is suitable for developing locally. Use username:admin, password:888888
to login system.
npm start
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.
Mock mode
.username:admin, password:888888
. (Now, browser saved authentication in local storage)No-Mock mode
.Command | Description |
---|---|
npm start | Starts development server with hot reloading and mock. |
npm run start:no-proxy | 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 . |
Running build will output all the static files to the ./dist
folder:
npm install npm run build