Before we begin, make sure you have a fresh version of Node.js and NPM installed. The current Long Term Support (LTS) release is an ideal starting point.
To begin, fork this repo and clone the fork to your computer:
https://github.com/vannizhang/Pin2Flood.git
From the project's root directory, install the required packages (dependencies):
npm install
Now you can start the webpack dev server to test the app on your local machine:
# it will start a server instance and begin listening for connections from localhost on port 8080
npm run start
To build/deploye the app, you can simply run:
# it will place all files needed for deployment into the /build directory
npm run build
Follow this Instruction to save Pin Drops
and Flood Polygon Results
to Hosted Feature Services managed by your own Organization.
Find a bug or want to request a new feature? Please let us know by submitting an issue.