This repository contains the map from https://openstreetmap.de (work in progress).
Run via:
python3 -m http.server 8000 --directory publicOpen your browser on http://0.0.0.0:8000/ to see the website.
For checking code quality in JavaScript and CSS files we use Biome. It can be installed as binary on all operating systems.
How to run:
# simple check of files
biome check
# automatically fix files
biome check --fixExternal libraries shall be downloaded to public/lib/external/<add-official-name-of-library> and added to the git repo. Documentation of the external libraries we use can be found in the fetchExternalLibs.sh file located in the /scripts directory. This file also allows for quick restore or updating of the external libraries.
./scripts/fetchExternalLibs.shJavaScript/CSS files are included directly in index.js and index.css.