25 lines
604 B
Markdown
25 lines
604 B
Markdown
# Ŋəmap
|
||
|
||
To setup dependencies:
|
||
```bash
|
||
# 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:
|
||
|
||
```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
|
||
```
|