derwas / WaterAnalytics

This application is developped as part of the Waternomics project, it create a secure query interface for querying data from DRUID. It uses CKAN as a primary source for checking users' access rights.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Water Analytics Service and QRCode App

Secure Query Service DEMO

IMAGE ALT TEXT HERE

QRCode App DEMO

IMAGE ALT TEXT HERE

Requirements

These are the following requirements:

  • Play Framework 1.2.5
  • Play requires Java 1.6. To check that you have the latest JDK, please run:

$java -version

To check the installed java versions on the machine, please run:

$ls /usr/lib/jvm/

To change the active java version, please run:

$export JAVA_HOME=/usr/lib/jvm/[your java version]/

$export PATH=${JAVA_HOME}/bin:${PATH}

Start and Stop the application

Start

The application is play framework app to start it use the following command:

$cd [location of the app]

$[Path to Play Installation/play-1.2.5.3]/play run &> logger.log &

Stop

The application runs in the background using port 8011. Stopping the application can be done by killing the process id using that port.

To stop this application use the following command:

$sudo netstat -tunlp | grep 8011

$sudo kill -9 [Process ID]

About

This application is developped as part of the Waternomics project, it create a secure query interface for querying data from DRUID. It uses CKAN as a primary source for checking users' access rights.


Languages

Language:JavaScript 45.9%Language:CSS 38.9%Language:Java 13.6%Language:HTML 1.6%