commit | ab179d44b065e2344cb2f5cc60c49f55d1766b2c | [log] [tgz] |
---|---|---|
author | Gao Hongtao <hanahmily@gmail.com> | Tue Sep 04 16:23:33 2018 +0800 |
committer | Gao Hongtao <hanahmily@gmail.com> | Tue Sep 04 16:23:33 2018 +0800 |
tree | 1b6246656b864e1fc12ab6907190bfc87e9b9cba | |
parent | 1f5fcab2c3102d4da345bbf67dbeb7ba3ba48fa3 [diff] |
Refactor Dashboard page
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.
npm start
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.
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 . |
Running build will output all the static files to the ./dist
folder:
npm install npm run build