Git Product home page Git Product logo

vsc-valve's Introduction

Valve


Valve is a web interface to the databases created and maintained via the vsc-vdx project. It provides a set of data charting and export capabilities designed explicitly for Volcano monitoring datasets.

Requirements


  1. java 1.7+
  2. Apache Tomcat 6+
  3. Access to a MySQL database instance containing vsc-vdx datasets.

Installation


  1. Copy the generated WAR file from the Valve3Web/target directory to your Apache Tomcat server location. If you have Tomcat set to automatically expand WAR files, restart the service and move on to the next step. Otherwise, run:
    $ mkdir valve3
    $ cd valve3 && cp /path/to/Valve3.war .
    $ unzip Valve3.war
    
  2. Your Tomcat server.xml file will need an entry that looks something like the following (within the host tags):
    <Host name="localhost"  appBase="webapps" unpackWARs="true" autoDeploy="true">
    ...
    <Context path="/valve3" docBase="/path/to/webapps/valve3" privileged="false" reloadable="true" crossContext="false"></Context>
    ...
    </Host>
    
  3. Make sure that the Tomcat user owns the data/ and img/ directories. If not, run:
    $ chown tomcat:www data/ img/
    
  4. Configure your instance of valve3:
    1. The root directory of the app contains three text files that need to be edited. By default, the Valve application ships with maps and filters for Hawaii. New maps can be placed in the /maps directory and can be configured via the images.txt and filters.txt files. Do so as necessary for your situation.
    2. Next up is the dist-data.config file in /WEB-INF/config. This file should be renamed 'data.config' and should contain everything needed to connect to the instance of vsc-vdx that will be used as well as definte the menu layout within Valve itself. The sample file should be pretty self-expanatory.
    3. Finally, rename dist-valve3.config to valve3.config and edit it. This file contains a bunch of configuration settings that are used by Valve.
  5. Restart Tomcat and you should be up and running.

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.