Coder Social home page Coder Social logo

nwc's Introduction

National Water Census Data Portal

This repository houses the National Water Census data portal.

alt text

RUNNING

  • 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"?>
<Context>
    <!-- Default set of monitored resources -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>

    <!-- 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="http://waterservices.usgs.gov/nwis/site/" type="java.lang.String" override="true"/>
	<Environment name="nwc.endpoint.nwis.streamflow" value="http://waterservices.usgs.gov/nwis/dv/" type="java.lang.String" override="true"/>
	<Environment name="nwc.endpoint.searchService" value="http://txpub.usgs.gov/DSS/search_api/1.1/dataService/dataService.ashx/search" type="java.lang.String" override="true"/>
    <Environment name="nwc.endpoint.sciencebase" override="true" type="java.lang.String" value="https://www.sciencebase.gov"/>
</Context>
  • 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

nwc's People

Contributors

mbucknell avatar cschroedl-gov avatar mamcderm-usgs avatar jiwalker-usgs avatar dblodgett-usgs avatar thongsav-usgs avatar dschmitt-usgs avatar isuftin avatar kmschoep-usgs avatar marsmith avatar jkreft-usgs avatar

Watchers

James Cloos 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.