This is an experimental rewrite of <15m.abstreet.org>. Stay tuned.
You'll need: npm, wasm-pack, and cargo.
cd web
, and then:
npm ci
to install dependencies (ci
to make sure the versions inpackage-lock.json
are used)npm run wasm
to rebuild the Rust backend- vite doesn't automatically rebuild when you edit things
npm run dev
to run locally- Changes to the Svelte/CSS usually auto-reload in your browser
npm run fmt
to auto-format codenpm run check
to see TypeScript errors
The GTFS data used is built from the UK BODS. After downloading and unzipping, you can build using cd cli; cargo run --release build-gtfs /path/to/gtfs
. The file is encoded using geomedea.