systemapic / pile

PostGIS tile server
0 stars 2 forks source link

pile

Environment variables

PILE_CONFIG_PATH - full path to pile-config.js, defaults to [ROOT]/../../config/pile-config

WU_CONFIG_PATH - full path to wu-config.js, defaults to /systemapic/config/wu-config.js only needed for tests

Database access

Accessed database hostname is hardcoded to be postgis.

SYSTEMAPIC_PGSQL_USERNAME - username to access db SYSTEMAPIC_PGSQL_PASSWORD - password to access db

Testing

Tests are meant to be run from within the docker appropriately started with all links expected from the systemapic-docker configuration.

Inside such docker, tests are run using:

 npm test