tutorials:tilemill
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorials:tilemill [2014/03/25 15:54] – nine | tutorials:tilemill [2014/03/25 16:48] (current) – nine | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Install Tilemill on Debian Jessie (testing) ====== | ====== Install Tilemill on Debian Jessie (testing) ====== | ||
| - | ===== dependencies ===== | + | Tutorial modified from: http:// |
| - | * Mapnik v2.2.0 | + | ===== Tilemill ===== |
| - | * Node.js v0.10.x or v0.8.x | + | |
| - | * Protobuf: libprotobuf-lite and protoc | + | |
| + | Install dependencies: | ||
| < | < | ||
| - | sudo aptitude install | + | sudo aptitude install |
| </ | </ | ||
| - | + | Install dependencies | |
| - | ===== Tilemill ===== | + | |
| - | + | ||
| - | Install dependencies: | + | |
| < | < | ||
| sudo aptitude install git libmapnik2-dev python-gtk2-dev libwebkit-dev libsqlite3-dev | sudo aptitude install git libmapnik2-dev python-gtk2-dev libwebkit-dev libsqlite3-dev | ||
| Line 48: | Line 44: | ||
| npm install | npm install | ||
| </ | </ | ||
| + | |||
| + | create a tilemill launch-script: | ||
| + | < | ||
| + | echo "#! /bin/sh | ||
| + | node / | ||
| + | chmod +x / | ||
| + | </ | ||
| + | |||
| + | |||
| ===== download data into postgis ===== | ===== download data into postgis ===== | ||
| Line 53: | Line 58: | ||
| < | < | ||
| sudo -u postgres createdb -U postgres tilemill_austria | sudo -u postgres createdb -U postgres tilemill_austria | ||
| - | sudo -u postgres | + | sudo -u postgres |
| - | sudo -u postgres | + | |
| - | sudo -u postgres psql tilemill_austria -f / | + | |
| sudo -u postgres createuser -Upostgres --no-superuser --no-createdb --no-createrole tilemill | sudo -u postgres createuser -Upostgres --no-superuser --no-createdb --no-createrole tilemill | ||
| sudo -u postgres psql -U postgres -c "ALTER ROLE tilemill WITH PASSWORD ' | sudo -u postgres psql -U postgres -c "ALTER ROLE tilemill WITH PASSWORD ' | ||
tutorials/tilemill.1395762872.txt.gz · Last modified: 2014/03/25 15:54 by nine