Skip to content

Instantly share code, notes, and snippets.

@albertsun
Forked from brianboyer/gist:1696819
Created January 29, 2012 02:45
Show Gist options
  • Save albertsun/1696891 to your computer and use it in GitHub Desktop.
Save albertsun/1696891 to your computer and use it in GitHub Desktop.
Lion dev environment notes
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
psql -d template_postgis -f /usr/local/share/postgis/spatial_ref_sys.sql
psql -c "UPDATE pg_database SET datistemplate = TRUE WHERE datname = 'template_postgis';"
psql -d postgres -c "UPDATE pg_database SET datistemplate = TRUE WHERE datname = 'template_postgis';"
chown $USER -R /Library/Python (https://github.com/mxcl/homebrew/pull/8177)
brew install mapnik
QGIS (http://www.kyngchaos.com/software/qgis)
TileMill (http://mapbox.com/tilemill/)
TextMate 2 (http://blog.macromates.com/2011/textmate-2-0-alpha/)
Google Chrome (http://www.google.com/chrome/)
iStat Menus (http://bjango.com/mac/istatmenus/)
The Unarchiver (http://wakaba.c3.cx/s/apps/unarchiver)
CrashPlan (http://www.crashplan.com/)
Divvy (http://mizage.com/)\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment