earthquake-eventpages

Web application for displaying earthquake event pages.

earthquake-eventpages

Web application for displaying earthquake event pages.

Getting Started

Use git to clone earthquake-eventpages from git repository

Install needed dependencies and run them

Configure the Project

  1. run ./src/lib/pre-install to setup config.ini
    1. URL Path for application: leave as default for now.
    2. URL stub for event detail GEOJSON web service: enter http://earthquake.usgs.gov/earthquakes/feed/v1.0/detail/%s.geojson
    3. URL stub for event detail ATOM web service: leave as default for now.

Example Usage

  1. Run grunt from the install directory.
  2. In the browser URL Change localhost:8100 to localhost:8100/?eventid=EVENTID where EVENTID is the id of a specific event. Examples can be found by going to earthquake.usgs.gov and clicking on any earthquake under significant earthquakes, then pulling the id from the URL. EXAMPLE: localhost:8100/?eventid=usb000kw1x

Notes

  1. This application uses the earthquake responsive template found at https://github.com/usgs/hazdev-template.git The responsive template dependency is not bundled during build, so sites can configure their theme, and must be installed before this application is deployed.

Implementing Modules and Module Pages

Read more about creating modules and pages

Related Repositories

earthquake-eventpages

earthquake-eventpages

Web application for displaying earthquake event pages. ...