Dev: https://nptscot.github.io/npw
Prod: https://npw.scot
Clone the repo. cd web, and then:
npm cito install dependencies (cito make sure the versions inpackage-lock.jsonare used)npm run wasmto rebuild the Rust backend- vite doesn't automatically rebuild when you edit things
npm run devto run locally- Changes to the Svelte/CSS usually auto-reload in your browser
npm run fmtto auto-format codenpm run checkto see TypeScript errors
This will fetch all data files from the live site by default, which is slow.
You can set up web/public, but I haven't described how to do this yet.