nguhmap/README.md
2025-09-17 12:15:13 +02:00

25 lines
604 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Ŋəmap
To setup dependencies:
```bash
# Grab the latest jxl base map, its 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:
```bash
bun dev
```
To run for production:
```bash
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
```