Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A modern map design studio.

This branch is even with mapbox:data-to-map

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
_includes
_layouts
_posts
assets
commands
controllers
data/82945364-10m-admin-0-countries
docs
examples
facebox
images
lib
manual
models
platforms
plugins
servers
templates
test
views
.gitignore
.gitmodules
CNAME
LICENSE.md
README.md
_config.yml
code.html
index.html
index.js
jquery.js
manual.html
package.json
reset.css
script.js
showdown.js
style.css

README.md

TileMill is a modern map design studio powered by open source technology. Installation instructions, development docs and other information are available on the TileMill website.

Running tests

Install expresso and run the tests

npm install expresso
npm test

Note: the tests require a running postgres server and a postgis enabled database called template_postgis.

If you do not have a template_postgis create one like:

POSTGIS_VERSION="1.5" # you may need to change this
POSTGIS_PATH=`pg_config --sharedir`/contrib/postgis-$POSTGIS_VERSION
createdb -E UTF8 template_postgis
createlang -d template_postgis plpgsql
psql -d template_postgis -f $POSTGIS_PATH/postgis.sql
psql -d template_postgis -f $POSTGIS_PATH/spatial_ref_sys.sql

For more info see: http://postgis.refractions.net/documentation/manual-1.5/ch02.html#id2619431

Viewing docs locally

Install jekyll

sudo gem install jekyll

Run jekyll

jekyll

View the site at:

http://localhost:4000/tilemill/docs/
Something went wrong with that request. Please try again.