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.
Start up in Mock mode.
Do login by username:admin, password:888888. (Now, browser saved authentication in local storage)
Stop and restart in No-Mock mode.
You could access without username/password and webapp proxy.
Commands
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.
Build
Running build will output all the static files to the ./dist folder:
Apache SkyWalking UI
This UI has been replaced by SkyWalking RocketBot UI since SkyWalking 6.1 release.
The UI for Apache SkyWalking.
Contributing
See CONTRIBUTING.
Development
The app was built with dva framework.
Getting codes
Fork, then clone the
incubator-skywalking-uirepo and change directory into it.Install dependencies via
npm:Running the application
Mock mode
This mode is suitable for developing locally. Use
username:admin, password:888888to login system.No-Mock mode
This mode is suitable for e2e test with backend collector. No webapp proxy required.
The default collector query address is
http://localhost:12800. You can change this address by editing.webpack.jsfile. 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.Commands
npm startnpm run start:no-proxynpm testnpm run lintnpm run build/dist.Build
Running build will output all the static files to the
./distfolder: