THIS PROJECT HAS BEEN ARCHIVED
Please see https://code.usgs.gov/ghsc/hazdev/legacy-latest-earthquakes
Mobile friendly, interactive earthquake map and list application.
-
Use git to clone earthquake-latest-earthquakes from git repository
-
Make sure you are in your
earthquake-latest-earthquakesproject directory. -
Install NPM dependencies
npm install -
Preview in a browser
gruntOn windows,
gatewayhas trouble resolving default documents and you need to change the opened url tohttp://localhost:8000/index.htmlin order to view the Test Suite. To view the application go to 'http://localhost:8080/index.html'
-
If this is your first time using grunt, you need to install the grunt command line interface globally
npm install -g grunt-cli -
Leaflet uses Jake to compile it's source.
npm install -g jake -
Jake uses uglify to compile the leaflet source.
npm install -g uglify-js