First, clone the repo :
git clone https://github.com/Angus-Paillaugue/dine-map
cd dine-mapThen, copy the .env file :
mv .env.example .envYou can now set strong variables for the POSTGRES_PASSWORD if you want.
If you are running the frontend behind a web
You first need to generate the tiles.
To do so, open .env and set the TILES_CONTINENT to the continent you want to download the tiles, and optionally (it's heavily recommended), set TILES_COUNTRY to the country of your choosing.
Then run the generation script
./scripts/customTiles/all.shThis script will download and process the tiles of the area you choose previously.
Warning
This can be a long and intensive process. The resulting file can weigh tens of GB
Once finished, you should have a file called tileset/tiles.mbtiles. This will be used by the file server to render the map tiles with the custom matching styles.
You can now run everything :
docker compose up -d- https://nominatim.org/release-docs/latest/api/Search/
- https://svelte-openlayers.com/
- https://github.com/openmaptiles/openmaptiles-tools?tab=readme-ov-file#multi-streamed-osm-data-downloader
- https://github.com/systemed/tilemaker?tab=readme-ov-file#getting-started
- https://download.geofabrik.de/
- https://github.com/maptiler/tileserver-gl