From 7a746c75d1b22e515e2f305e6e17e6cb6f9f3da5 Mon Sep 17 00:00:00 2001 From: jcampanell-c2f Date: Mon, 22 Mar 2021 11:17:08 -0600 Subject: [PATCH] Update docs to reflect C2F build process a little better. --- Tippecanoe.md | 56 ++++++++------------------------------------------- 1 file changed, 8 insertions(+), 48 deletions(-) diff --git a/Tippecanoe.md b/Tippecanoe.md index e593cc5..012747a 100644 --- a/Tippecanoe.md +++ b/Tippecanoe.md @@ -5,30 +5,15 @@ Install dependicies sudo apt-get install build-essential libsqlite3-dev zlib1g-dev -Install git +Use scripts to build for the local environment OS ``` - sudo apt-get install git + tools/build.sh -Download tippecanoe +Package the application ``` - git clone https://github.com/mapbox/tippecanoe.git - -Go into Root Directory -``` - - cd tippecanoe - -Give make command -``` - - sudo make - -Finally, do install -``` - - sudo make install + tools/package.sh ### How to install Tippecanoe in Centos @@ -55,43 +40,18 @@ Install zlib yum install zlib-devel -Install git +Use scripts to build for the local environment OS ``` - yum install git + tools/build.sh -Clone the repository +Package the application ``` - git clone https://github.com/mapbox/tippecanoe.git - -Go inside root directory -``` - - cd tippecanoe - -Give make command -``` - - make - -Finally, Install tippecanoe -``` - - make install + tools/package.sh Check version ``` tippecanoe -v -``` - -Optional: -1. If you run as root user execute the below command and restart the server to reflect the changes - -```sh - - export PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/bin - -``` \ No newline at end of file