tileserver-gl/README_light.md
Tobias 1b58d38d90
Readme: Remove tileserver-gl-light docker
When following the readme `docker run --rm -it -v $(pwd):/data -p 8000:80 tileserver-gl-light` the error says:

```sh
% docker run --rm -it -v $(pwd):/data -p 8000:80 tileserver-gl-light
Unable to find image 'tileserver-gl-light:latest' locally
docker: Error response from daemon: pull access denied for tileserver-gl-light, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
```

This removes the part of the documentation that is out of date.
2022-03-28 15:28:16 +02:00

31 lines
1.3 KiB
Markdown

# TileServer GL light
[![Build Status](https://travis-ci.org/maptiler/tileserver-gl.svg?branch=master)](https://travis-ci.org/maptiler/tileserver-gl)
[![Docker Hub](https://img.shields.io/badge/docker-hub-blue.svg)](https://hub.docker.com/r/maptiler/tileserver-gl/)
Vector maps with GL styles. Map tile server for Mapbox Android, iOS, GL JS, Leaflet, OpenLayers, etc. without server side rendering.
## Quickstart
Use `npm install -g tileserver-gl-light` to install the package from npm.
Then you can simply run `tileserver-gl-light zurich_switzerland.mbtiles` to start the server for the given mbtiles.
See also `tileserver-gl` which contains server side rendering.
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.
## Documentation
You can read full documentation of this project at https://tileserver.readthedocs.io/.