Skip to content

Instantly share code, notes, and snippets.

@marloncabrera
Last active August 29, 2015 14:06
Show Gist options
  • Save marloncabrera/f0fd452b25b2d1c703d1 to your computer and use it in GitHub Desktop.
Save marloncabrera/f0fd452b25b2d1c703d1 to your computer and use it in GitHub Desktop.
Install Tilemill on openSuse 13.1

Install Tilemill on openSuse 13.1

References:

Mapbox

Mapnik

Walkthrough

As root install dependencies:

Install Tilemill openSuse 13.1

zypper ar http://download.opensuse.org/repositories/Application:/Geo/openSUSE_13.1/Application:Geo.repo
zypper ar -f -n packman http://packman.inode.at/suse/openSUSE_13.1 packman
zypper in -t pattern devel_basis
zypper in git postgresql-devel sqlite3-devel libcurl-devel libwebkitgtk-devel cairomm-devel libwebkitgtk3-devel libprotobuf-lite8 libprotobuf8 libprotoc8 protobuf-devel
zypper in mapnik

Install a specific nodejs version as regular user (non root)

JOBS=`grep -c ^processor /proc/cpuinfo`
NODE_VERSION="0.10.26"
wget http://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}.tar.gz
tar xf node-v${NODE_VERSION}.tar.gz
cd node-v${NODE_VERSION}
./configure
make -j${JOBS}
sudo make install
cd ../

Install Tilemill as regular user (non root)
git clone https://github.com/mapbox/tilemill
cd tilemill
npm install
./index.js

TileMill can be accessed through a web browser at http://localhost:20009

Have fun!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment