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
javascript:(function(){for(var a=document.querySelectorAll("*"),i=0,e;e=a[i];i++)"fixed"==getComputedStyle(e).position&&(e.style.position="static");}()); |
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
Homebrew (https://github.com/mxcl/homebrew/wiki/installation) | |
brew install postgres | |
brew install gdal --with-postgres (EDIT THE FORMULA FIRST, see https://github.com/mxcl/homebrew/issues/8301) | |
brew install postgis | |
edit /etc/paths to put /usr/local/bin on top, so that lion's psql doesnt win | |
PostGIS templates (based on https://wiki.archlinux.org/index.php/PostGIS) | |
createdb template_postgis -E UTF8 | |
createlang plpgsql template_postgis | |
psql -d template_postgis -f /usr/local/share/postgis/postgis.sql |