Skip to content

Instantly share code, notes, and snippets.

@sjwilliams
Forked from brianboyer/gist:1696819
Created March 16, 2012 17:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjwilliams/2051376 to your computer and use it in GitHub Desktop.
Save sjwilliams/2051376 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