604 B
604 B
Ŋəmap
To setup dependencies:
# Grab the latest jxl base map, it’s path is hereafter `themap`
bun install
bun devscripts/generate_tiles.ts themap threadcount
# This will take a while and a lot ram of per thread. If threadcount is not set, default is 8 (uses ~20GB of ram in my tests)
To start a development server:
bun dev
To run for production:
bun devscripts/optimise_assets.ts threadcount
# Will take a bit once again, but not as much ram, set threadcount to around the number of CPU threads you have, if not set default is 16 threads
bun build
bun start