Simple OSS framework for interactive, narrative tours of geospatial data.
Uses nodejs@~8.5
, npm@~6.4
.
# install dependencies
npm install
# serve with hot reload at localhost:8088
export PORT=8088
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For detailed explanation on how the project is organized and how webpack is organized, checkout the guide and docs for vue-loader.
If these variables are set in your environment, they'll be used in the application. Default values are found in config/dev.env.js
and config/prod.env.js
.
GEOSERVER_WMS_URL
: Geoserver WMS endpointFIRE_FEATURES_URL
: Fire feature GeoJSON endpointFIRE_TIME_SERIES_URL
: Fire time series GeoJSON endpointMV_GOOGLE_ANALYTICS_TOKEN
: Google analytics tokencd /path/to/mapvue
# Check your enviroment variables first here
npm run build
cd dist && aws s3 sync . s3://mapventure.org
When updating the yearly Fire map, you need to look for and adjust some hardcoded date ranges in both the AK_Fires_Graph and also the repo mv-aicc-fire-shim to ensure the chart updates correctly.