Created
October 18, 2012 09:01
-
-
Save gka/3910564 to your computer and use it in GitHub Desktop.
Kartograph installation guide Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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