Many of the files are generated using Handlebar templates. To get the solution running, use the following commands:
npm run setup
- This will install all npm packages and then create the templates/data/live.json file with all the members of the NMSCD
npm run dev
The dev script runs 3 processes concurrently. This shouldn't be a problem, but if you want to run them individually, they are:
dev:watch-template
- This builds all of the handlebar files using the JSON files in the
data
folder
- This builds all of the handlebar files using the JSON files in the
dev:watch-sass
- This compiles all the SCSS files into
public/assets/css/main.css
- This compiles all the SCSS files into
dev:live-server
- A small HTTP server. Once running you should see the site on 127.0.0.1:8080
This site makes use of Github Actions to build the project and Github Pages to host it 💪