Skip to content

Instantly share code, notes, and snippets.

@yoyozi
Created February 2, 2017 13:03
Show Gist options
  • Save yoyozi/149ebc399aebbce226f1c9cfb5be250e to your computer and use it in GitHub Desktop.
Save yoyozi/149ebc399aebbce226f1c9cfb5be250e to your computer and use it in GitHub Desktop.
brew install postgresql
If this is your first time installing Postgres with Homebrew, you'll need to
create a database with:
$ initdb /usr/local/var/postgres -E utf8
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/postgresql/9.5.3/homebrew.mxcl.postgresql.plist
~/Library/LaunchAgents/
lunchy start postgres
lunchy stop postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment