Skip to content

OpenTreeMap/otm-tiler

Repository files navigation

OpenTreeMap 2 Map Tile Server

Build Status Coverage Status

This project requires several environment variables, containing connection information.

They should be similar to:

OTM_DB_USER = 'otm'
OTM_DB_PASSWORD = 'otm'
OTM_DB_NAME = 'otm'
OTM_DB_HOST = 'localhost'
OTM_DB_PORT = 5432

OTM_CACHE_HOST = '127.0.0.1'
OTM_CACHE_PORT = 6379

OTM_STACK_TYPE = 'development'

There is also an optional environment variable for reporting errors to Rollbar.

ROLLBAR_SERVER_SIDE_ACCESS_TOKEN=....

Please view the javascript documentation.