OpenQuake Client
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
src/main/webapp/WEB-INF
.gitignore
.gitmodules
README.md
build.xml
buildjs.cfg

README.md

OpenQuake Client

The intention of this project is to provide a ui for the OpenQuake Server.

Debug Mode

Loads all scripts uncompressed.

ant init
ant debug

This will give you an application available at http://localhost:8080/ by default. You only need to run ant init once (or any time dependencies change).

To use an OpenQuake API server other than http://gemsun02.ethz.ch/mtapi/, you can add the following option to the ant debug command:

-Dapp.proxy.mtapi=<mtapi_url>

where <mtapi_url> is e.g. http://localhost:8000/mtapi/.

To use a GeoServer instance other than http://gemsun02.ethz.ch/geoserver-geonode-dev/, you can add the following option to the ant debug command:

-Dapp.proxy.geoserver=<geoserver_url>

where <geoserver_url> is e.g. http://localhost:8001/geoserver/

Prepare App for Deployment

To create a static war servlet run the following:

ant static-war

The servlet will be assembled in the build directory.

To use a different path for the local GeoServer than /geoserver-geonode-dev/, you can add the following option to the ant static-war command:

-Dapp.deploy.geoserver=<geoserver_path>

where <geoserver_path> is e.g. /geoserver/