Skip to content

Instantly share code, notes, and snippets.

@IReese
Created January 10, 2019 02:49
Show Gist options
  • Save IReese/7820ebf65e41335beaccd613ab752404 to your computer and use it in GitHub Desktop.
Save IReese/7820ebf65e41335beaccd613ab752404 to your computer and use it in GitHub Desktop.
Installation Process
MAPNIK
git clone https://github.com/mapnik/mapnik --depth 10
cd mapnik
git fetch --all --tags --prune
git checkout tags/v3.0.12 -b v3.0.12
git submodule update --init deps/mapbox/variant
./configure
JOBS=4 make
sudo make install
PYTHON-MAPNIK
cd ..
git clone https://github.com/mapnik/python-mapnik.git
cd python-mapnik
git checkout v3.0.x
sudo python setup.py install
#mapnik 0.1 is already the active version in easy-install.pth
#Installed /usr/local/lib/python2.7/dist-packages/mapnik-0.1-py2.7-linux-x86_64.egg
#Processing dependencies for mapnik==0.1
#Finished processing dependencies for mapnik==0.1
MAPPROXY
sudo apt-get install python-imaging python-yaml
git clone https://github.com/palmerj/mapproxy.git
cd mapproxy
git fetch origin mapnik_cachemapobj_multiproc
git checkout mapnik_cachemapobj_multiproc
sudo python setup.py install
#Finished processing dependencies for MapProxy==1.10.0a0.post20190110
TILEMILL
sudo apt-get install npm nodejs-legacy
#npm is already installed at the requested version (3.5.2-0ubuntu4)
#downgraded nodejs to 4.2.6
git clone https://github.com/tilemill-project/tilemill.git
cd tilemill/
nvm use 4.9.1
npm install
nvm run 4.9.1 ./index.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment