Skip to content
strump edited this page Mar 27, 2015 · 3 revisions

Local configuration

Suggestion is to use cartocc for managing the local config (like db credentials, path to shp...). Have a look at the cartocc.json.sample file to quick start

Step by step

  1. Clone this dir: git clone https://github.com/hotosm/HDM-CartoCSS.git

  2. Symlink it in your MapBox/project directory with the name hdm:

ln -s path/to/hdm path/to/Documents/Mapbox/project/
  1. Rename cartocc.json.sample to cartocc.json and adapt it

  2. run cartocc hdm: this will create a project.mml file with correct local config in the project dir

  3. Run tilemill

Clone this wiki locally