National Water Census User Interface Framework
HTML JavaScript Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

National Water Census Data Portal

This repository houses the National Water Census data portal.

alt text


  • Install Java 8, Tomcat 7.
  • Open the context.xml for the instance you are going to run this app in (Either $CATALINA_HOME/conf/context.xml or $CATALINA_BASE/conf/context.xml)
  • Make your context.xml look like the following, substituting different values as necessary:
<?xml version="1.0" encoding="utf-8"?>
    <!-- Default set of monitored resources -->

    <!-- disable session persistence across Tomcat restarts -->
    <Manager pathname="" />
	<Environment name="nwc.development" value="true" type="java.lang.String" override="true"/>
	<Environment name="nwc.endpoint.geoserver" value="http://path_to_nwc_geoserver" type="java.lang.String" override="true"/>
    <Environment name="nwc.endpoint.thredds" value="http://path_to_watersmart_thredds_server" type="java.lang.String" override="true"/>
    <Environment name="nwc.endpoint.wps" value="http://path_to_watersmart_wps_process_service" type="java.lang.String" override="true"/>
    <Environment name="nwc.endpoint.nwis" value="" type="java.lang.String" override="true"/>
	<Environment name="nwc.endpoint.nwis.streamflow" value="" type="java.lang.String" override="true"/>
	<Environment name="nwc.endpoint.searchService" value="" type="java.lang.String" override="true"/>
    <Environment name="nwc.endpoint.sciencebase" override="true" type="java.lang.String" value=""/>
  • Fork this repo
  • Clone your forked repo
  • change to the directory where you cloned your fork
  • Run mvn clean package. This will place a 'war' file in the 'target' directory
  • Deploy the 'war' file to tomcat