Skip to content

Instantly share code, notes, and snippets.

@cristiangrojas
Forked from noverloop/gist:4148748
Created June 2, 2013 00:29
Show Gist options
  • Save cristiangrojas/5692174 to your computer and use it in GitHub Desktop.
Save cristiangrojas/5692174 to your computer and use it in GitHub Desktop.
When installing on mountain lion:
installation:
brew install postgresql --without-ossp-uuid
initd /usr/local/var/postgres
mkdir /var/pgsql_socket
chown <user> /var/pgsql_socket
edit /usr/local/var/postgres/postgresql.conf
set unix_socket_directory to /var/pgsql_socket
install postgres launchctl scripts (see brew info postgresql)
"psql postgres" should now work
Installing postgis:
sudo brew edit postgis15
change all references of "postgresql9" to "postgresql"
brew install postgis15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment