Skip to content

Instantly share code, notes, and snippets.

@gka
Created October 18, 2012 09:01
Show Gist options
  • Save gka/3910564 to your computer and use it in GitHub Desktop.
Save gka/3910564 to your computer and use it in GitHub Desktop.
Kartograph installation guide Linux
# prereqs
sudo apt-get install python-setuptools build-essential libxml2-dev libxslt1-dev python-dev libyaml-dev libgeos-dev
sudo easy_install pip virtualenv virtualenvwrapper
mkdir ~/src
# setup virtualenvwrapper
echo "\nsource /usr/local/bin/virtualenvwrapper_lazy.sh" >>~/.bashrc
source /usr/local/bin/virtualenvwrapper_lazy.sh
# install gdal
# download gdal 1.9.2 to ~/src
tar -zxg gdal-1.9.2.tar.gz
cd gdal-1.9.2
./configure --with-python
make
sudo make install
# install kartograph
cd ~/src
git clone git@github.com:kartograph/kartograph.py.git
# install kartograph's libs into a virtualenv
cd kartograph.py
mkvirtualenv kartograph
python setup.py install
easy_install tinycss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment