Coder Social home page Coder Social logo

ajmdfeipan / dashboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open-falcon/dashboard

0.0 2.0 0.0 624 KB

绘图展示组件,自定义dashboard

License: Apache License 2.0

Shell 0.33% Python 8.66% HTML 11.41% CSS 7.99% JavaScript 71.61%

dashboard's Introduction

Introduction

dashboard是提供给用户,以图表的方式查看push上来的数据

Clone

$ export HOME=/home/work/

$ mkdir -p $HOME/open-falcon/
$ cd $HOME/open-falcon && git clone https://github.com/open-falcon/dashboard.git
$ cd dashboard;

Install dependency

# yum install -y python-virtualenv

$ cd $HOME/open-falcon/dashboard/
$ virtualenv ./env

$ ./env/bin/pip install -r pip_requirements.txt -i http://pypi.douban.com/simple

Init database

$ mysql -h localhost -u root -p < ../scripts/db_schema/dashboard-db-schema.sql
$ mysql -h localhost -u root -p < ../scripts/db_schema/graph-db-schema.sql

## default mysql user is root, default passwd is ""
## change mysql info in rrd/config.py if necessary

Start

$ ./env/bin/python wsgi.py

--> goto http://127.0.0.1:8081

Run with gunicorn

$ bash control start

--> goto http://127.0.0.1:8081

Stop gunicorn

$ bash control stop

Check log

$ bash control tail

dashboard's People

Contributors

laiwei avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.