Node.js and npm (included in Node.js)
nvm use 14
# Install dependencies
npm install
# Generate data files and move them into the data folder
node data/load-data.js && mv indiNav.json sdgs.json indicators.json ./data/
# Serve with hot reload at localhost:3010
npm run dev
After pushing/merging your feature branch into the master branch GitHub Actions build the static files and deploy them to the gh-pages branch. Changes there are captured and deployed by Netlify.
# Load and assemble the current data
node data/load-data.js
# Move the generated files into the data folder
mv indiNav.json sdgs.json indicators.json ./data/
# Generate the static files
npm run generate:gh-pages