Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

bash fu

  • Loading branch information...
commit df313a9c9d4b2c0637e990bfb83ba16ff5cec68e 1 parent 66dd341
Marcus Morrison mmorrison authored

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. +4 1 mac
5 mac
@@ -24,7 +24,10 @@ echo "Installing Postgres, a good open source relational database ..."
24 24 brew install postgres --no-python
25 25 brew info postgres
26 26
27   -echo "Postgres set up"
  27 +echo "Postgres set up"
  28 + mkdir -p ~/Library/LaunchAgents
  29 + cp /usr/local/Cellar/postgresql/`psql --version|cut -d" " -f3|head -n 1`/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/
  30 + launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
28 31 initdb /usr/local/var/postgres
29 32 createuser -a -d postgres
30 33

0 comments on commit df313a9

Please sign in to comment.
Something went wrong with that request. Please try again.