The goal of this project is to create an easy-to-use humanitarian map for work before, during and disaster events.
To start with the backend configuration, see: Readme backend Below are the instructions to run, build and deploy the front-end web-app.
$ git clone https://github.com/emi420/hmap.git
$ cd hmap
$ npm install
src/config/config.sample.js
to config.js
and edit this file adding a MAPBOX_ACCESS_TOKEN
.MAP_DEFAULT_CENTER
data/*.geojson
and/or config/layers
with your own data and styles.MAPBOX_DEFAULT_STYLE
, for example I'm using my own custom style mapbox://styles/emi420/ck2divmvv1gip1cpjxumqy761
.$ npm run start
Then load http://localhost:3000 in your browser.
$ npm run build
$ npm run deploy
You may use this project under the terms of the GNU General Public License (GPL) Version 3.
(c) 2019 Emilio Mariscal