diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 479dbad9c16ce78e0e25457c6883c9a6e325bc22..40f94128b0d5c339003f2e64b42a5534a1cd5200 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,7 +13,7 @@ update_deployment: stage: update_deployment before_script: - mkdir -p $CODE_DIR - - cp -r ./ ${CODE_DIR}/tileserver/ + - cp -rT ./ ${CODE_DIR}/tileserver/ - cd ${CODE_DIR}/tileserver - chown -R 1000:1000 ${CODE_DIR} - docker build --build-arg=SPREET_RELEASE=${SPREET_RELEASE} ./build/sprites -t spreet:${SPREET_RELEASE} diff --git a/README.md b/README.md index 447cf311ba700871c2af5154cb3c4c455119f10b..950429a8ad951a5cc4e647fe1a65f0fd86b3a73c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,11 @@ The Tileserver used by MetaGer Maps is based on [maptiler](https://github.com/ma A scheduled pipeline will take our daily updated `planet.osm.pbf` file and generate a planet.mbtiles used by out tileserver. +## Run Maputnik to edit the styles + +1. `docker run -it --rm -p 8888:80 ghcr.io/maplibre/maputnik:main` +2. Open -> Import from URL -> `https://tileserver.maps.metager.de/styles/osm-dark/style.json` + ## Compile SVGs of style to sprite We are using [spreet](https://github.com/flother/spreet) to compile the map icons into a spritesheet. Currently we are using [Maki Icons](https://labs.mapbox.com/maki-icons/editor/) as a base which we will extend by our custom icons.