To start developing locally, first make sure Gatsby is installed
npm install gatsby
Next, clone the repo and cd
into the new git repo
git clone https://github.com/climatecabinet/scorecard-map.git
cd scorecard-map
To start the local development server, run
npm run develop
- Run the following commands
$ cd scripts
$ . .env/bin/activate
$ python all.py
- Upload both files to the Climate Cabinet ArcGIS Developer Account
- Convert feature layers into vector tile layers
- Make both files publicly available (Settings -> Layer Access -> Change from Private to Public)
- Update the map layer links in the
config/map.js
file