Created
December 8, 2014 23:22
-
-
Save alvinlai/b4cf0f92767b8fb8a687 to your computer and use it in GitHub Desktop.
Postgres on OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To have launchd start postgresql at login: | |
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents | |
Then to load postgresql now: | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist | |
Or, if you don't want/need launchctl, you can just run: | |
postgres -D /usr/local/var/postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment