From 0e85e0058f65163feaf99feeb9e1b795aeaf917b Mon Sep 17 00:00:00 2001 From: Taro Matsuzawa Date: Tue, 18 Feb 2020 08:03:52 +0900 Subject: [PATCH] - added Building docker image document in README_light.md - change URL schema from http to https --- README.md | 4 ++-- README_light.md | 22 ++++++++++++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8dd163d..176b394 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Alternatively, you can use the `tileserver-gl-light` package instead, which is p ## Using Docker -An alternative to npm to start the packed software easier is to install [Docker](http://www.docker.com/) on your computer and then run in the directory with the downloaded MBTiles the command: +An alternative to npm to start the packed software easier is to install [Docker](https://www.docker.com/) on your computer and then run in the directory with the downloaded MBTiles the command: ```bash docker run --rm -it -v $(pwd):/data -p 8080:80 klokantech/tileserver-gl @@ -45,4 +45,4 @@ On laptop you can use [Docker Kitematic](https://kitematic.com/) and search "til ## Documentation -You can read full documentation of this project at http://tileserver.readthedocs.io/. +You can read full documentation of this project at https://tileserver.readthedocs.io/. diff --git a/README_light.md b/README_light.md index b8df587..42b7fb8 100644 --- a/README_light.md +++ b/README_light.md @@ -11,7 +11,25 @@ Then you can simply run `tileserver-gl-light zurich_switzerland.mbtiles` to star See also `tileserver-gl` which contains server side rendering. -Prepared vector tiles can be downloaded from [OpenMapTiles](https://openmaptiles.org/downloads/). +Prepared vector tiles can be downloaded from [OpenMapTiles.com](https://openmaptiles.com/downloads/planet/). + +## Building docker image + +You can build TileServer GL light image from source. + +``` +git clone https://github.com/maptiler/tileserver-gl.git +cd tileserver-gl +node publish.js --no-publish +cd light +docker build -t tileserver-gl-light . +``` + +[Download from OpenMapTiles.com](https://openmaptiles.com/downloads/planet/) or [create](https://github.com/openmaptiles/openmaptiles) your vector tile, and run following in directory contains your *.mbtiles. + +``` +docker run --rm -it -v $(pwd):/data -p 8000:80 tileserver-gl-light +``` ## Documentation -You can read full documentation of this project at http://tileserver.readthedocs.io/. \ No newline at end of file +You can read full documentation of this project at https://tileserver.readthedocs.io/. \ No newline at end of file