Skip to content

Instantly share code, notes, and snippets.

@anandthakker
Last active October 16, 2015 16:08
Show Gist options
  • Save anandthakker/9a0b5f9a92ef6e9d4fe8 to your computer and use it in GitHub Desktop.
Save anandthakker/9a0b5f9a92ef6e9d4fe8 to your computer and use it in GitHub Desktop.
Ubuntu bootstrap: tilelive-s3, mbtiles, tippecanoe, oam-catalog-grid
#!/bin/bash
set -e
sudo apt-get update
sudo apt-get install -y git build-essential
git clone https://github.com/anandthakker/dotfiles
cd dotfiles && git submodule update --init --recursive
cd ..
git clone https://github.com/anandthakker/.vim
cd .vim && git submodule update --init --recursive
cd ..
. dotfiles/link.sh
ln -s .vim/.vimrc
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
. .nvm/nvm.sh && nvm install iojs-v2.5
. .nvm/nvm.sh && nvm alias default iojs
sudo apt-get install -y libprotobuf-dev protobuf-compiler libsqlite3-dev
git clone https://github.com/mapbox/tippecanoe
cd tippecanoe
make
sudo make install
cd ..
sudo mv /tmp /mnt/tmp
sudo ln -s /mnt/tmp /tmp
sudo apt-get install -y pkg-config libpng-dev
git clone https://github.com/hotosm/oam-catalog-grid
cd oam-catalog-grid
npm install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment