Coder Social home page Coder Social logo

mikeda / growthforecast Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kazeburo/growthforecast

0.0 1.0 0.0 5.14 MB

Lightning Fast Graphing/Visualization

Home Page: http://kazeburo.github.com/GrowthForecast/

Perl 67.87% JavaScript 32.13%

growthforecast's Introduction

NAME
    growthforecast.pl - Lightning Fast Graphing/Visualization

SYNOPSIS
      % growthforecast.pl --data-dir=/path/to/dir

DESCRIPTION
    GrowthForecast is graphing/visualization web tool built on RRDtool

INSTALL
    Install dependencies
        To install growthforecast, these libraries are needed.

        *   glib

        *   xml2

        *   pango

        *   cairo

          (CentOS) $ sudo yum groupinstall "Development Tools"
                   $ sudo yum install pkgconfig glib2-devel gettext libxml2-devel pango-devel cairo-devel
  
          (Ubuntu) $ sudo apt-get build-dep rrdtool

    Install GrowthForecast
          $ cpanm GrowthForecast

        It's recommended to using perlbrew

OPTIONS
    --data-dir
        A directory to store rrddata and metadata

    --port
        TCP port listen on. Default is 5125

    --host
        IP address to listen on

    --front-proxy
        IP addresses or CIDR of reverse proxy

    --allow-from
        IP addresses or CIDR to allow access from. Default is empty (allow
        access from any remote ip address)

    --disable-1min-metrics
        don't generate 1min rrddata and graph Default is "1" (enabled)

    --with-mysql
        DB connection setting to store metadata. format like
        dbi:mysql:[dbname];hostname=[hostnaem] Default is no mysql setting.
        GrowthForecast save metadata to SQLite

    -h --help
        Display help

MYSQL Setting
    GrowthForecast uses SQLite as metadata by default. And also supports
    MySQL

    GrowthForecast needs these MySQL privileges.

    *   CREATE

    *   ALTER

    *   DELETE

    *   INSERT

    *   UPDATE

    *   SELECT

    Sample GRANT statement

      mysql> GRANT statement sample> GRANT  CREATE, ALTER, DELETE, INSERT, UPDATE, SELECT \\
               ON growthforecast.* TO 'www'\@'localhost' IDENTIFIED BY foobar;

    Give USERNAME and PASSWORD to GrowthForecast by environment value

      $ MYSQL_USER=www MYSQL_PASSWORD=foobar growthforecast.pl \\
          --data-dir /home/user/growthforeacst \\
          -with-mysql dbi:mysql:growthforecast;hostname=localhost

    AUTHOR Masahiro Nagano <kazeburo {at} gmail.com>

    LICENSE This library is free software; you can redistribute it and/or
    modify it under the same terms as Perl itself.

growthforecast's People

Contributors

hirose31 avatar kazeburo avatar kentaro avatar matsuu avatar oranie avatar sonots avatar sugyan avatar syohex avatar tagomoris avatar takus avatar

Watchers

 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.