Skip to content

Latest commit

 

History

History
 
 

postgis

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

postgis

This example configures tilenol to use a PostGIS backend to service tile requests for our map.

Setup

Start a local PostGIS database

To start a locally-running PostGIS database, you can run the official Docker image:

docker run -it -p 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust postgis/postgis

Load sample data into your database

Once your database is ready to receive connections, you can load some sample data for testing:

./create_table.sh

Start tilenol

Lastly, start tilenol:

tilenol run -x