Merge pull request #36 from zhaoyuguang/bugfix_z2

文案bug
tree: fca31daa0eed79d457041480fcb27074508f46f1
  1. .babelrc
  2. .editorconfig
  3. .eslintignore
  4. .eslintrc.js
  5. .gitignore
  6. .postcssrc.js
  7. Dockerfile
  8. Dockerfile-ci
  9. Document.md
  10. LICENSE
  11. README.md
  12. build/
  13. config/
  14. document/
  15. index.html
  16. nginx.conf
  17. package-lock.json
  18. package.json
  19. run.sh
  20. src/
  21. static/
  22. tsconfig.json
  23. tslint.json
README.md

Introduction

RocketBot: A modern and awesome UI for Apache SkyWalking. This project is supported By DaoCloud Labs.

Screenshots

Dashboard

Topology

Trace

Live Demo

Demo

UsernamePassword
adminadmin

Document

Please read Docs

Development

The app was built with vue + typescript.

Prepare

Fork, then clone the rocketbot repo and change directory into it.

git clone https://github.com/TinyAllen/rocketbot.git
cd rocketbot

Install dependencies via npm:

npm install

Run

The default collector query endpoint is http://localhost:8080.

Commands

CommandDescription
npm startStarts development server with hot reloading.
npm run hostStarts development servers other can link
npm run lintLint the project (tslint)
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

Docker Build

npm install
npm run build
docker build -t rocketbot .

Running the docker image

docker run -p 8080:80 -d -e SKYWALKING_URL=127.0.0.1:1234,127.0.0.1:1235 rocketbot

SKYWALKING_URL is the address of your backend, multiple IP is changed by comma.

The default UI address is http://localhost:8080.

Nginx config

Reserve proxy

  location /api {
    rewrite ^/(.*) /graphql break;
    proxy_pass SKYWALKING_URL;
  }

Important: If you want to deploy the application by yourself,you need to rewirte the URL path into /graphql before reserve proxy.

Contributing to RocketBot

Thanks for your interest and hope it will be a pleasant experience.

How to contribute?

Most of the contributions received are code contributions, and documentation, bugs, requirements are also welcomed.

How to report a bug?

  • Ensure the bug was not already reported by searching on GitHub under Issues.

  • If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring.

Support

Supported by DaoCloud Labs.

Contact

WeChat

License

Copyright © 2018, Allen Wang. Released under the MIT License.

Who Uses Rocketbot?

按照登记顺序排序,更多接入公司,欢迎在 https://github.com/TinyAllen/rocketbot/issues/15 登记(仅供开源用户参考)