dine-map Svelte Themes

Dine Map

Dine Map - discover and review local restaurants on a self-hosted map with custom tiles and a clean Svelte based UI.

Getting started

First, clone the repo :

git clone https://github.com/Angus-Paillaugue/dine-map
cd dine-map

Then, copy the .env file :

mv .env.example .env

You can now set strong variables for the POSTGRES_PASSWORD if you want. If you are running the frontend behind a web

With custom self-hosted tiles

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.sh

This script will download and process the tiles of the area you choose previously.

[!WARNING] This ca be a long and intensive process. The resulting file can be weigh then's 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

Ressources

Maps

Runtime

Top categories

Loading Svelte Themes