bartvde / hurricane

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Coverage Status

NYC Hurricane Evacuation Zone Finder

This app is a stand-alone HTML5 app that can be dropped into the doc root of any web server.

  • The center.csv file included is a snapshot of the evacuation center data for development use only.
  • The zone.json file included is a snapshot of the evacuation zone data for development use only.
  • The order.csv file included is sample evacuation order data for development use only.
  • In production center.csv, zone.json and order.csv may change without notice and are regularly cached at a CDN.

Install

yarn install
yarn global add postcss-cli

Test

yarn test

Build

Set the following variables in .env file

GEOCLIENT_KEY
GOOGLE_ANALYTICS
GOOGLE_DIRECTIONS

Staging

Set additional variable in .env

STG_GEOCLIENT_HOST
STG_OL_TILE_HOST
export NODE_ENV=stg
yarn build

Production

export NODE_ENV=prd
yarn build

About


Languages

Language:JavaScript 84.3%Language:CSS 11.3%Language:HTML 4.4%