From 46d34dd017a1f31fd8702c9e8ec3ec6692779922 Mon Sep 17 00:00:00 2001 From: lukasmartinelli Date: Mon, 24 Oct 2016 21:49:23 +0200 Subject: [PATCH] Add some help instructions --- README.md | 6 ++++-- docker-compose.yml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 60cd000..8312722 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,10 @@ To work on *osm2vectortiles.tm2source* you need Docker and Python. Build the tileset. ``` +# Build the imposm mapping, the tm2source project and collect all SQL scripts make +# You can also run the build process inside a Docker container +docker run -v $(pwd):/tileset openmaptiles/openmaptiles-tools make ``` ### Prepare the Database @@ -87,8 +90,7 @@ docker-compose run import-osm Each time you modify layer SQL code run `make` and `docker-compose run import-sql`. ``` -make -docker-compose run import-sql +make clean && make && docker-compose run import-sql ``` To look at the vector tiles you can start up Mapbox Studio Classic in a container diff --git a/docker-compose.yml b/docker-compose.yml index e5c27ce..dcc2db3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -45,7 +45,7 @@ services: ports: - "3000:3000" export-vectortiles: - image: "openmaptiles/export-vectortiles" + image: "openmaptiles/generate-vectortiles" volumes: - ./data:/export - ./build/openmaptiles.tm2source:/tm2source