Skip to content

Instantly share code, notes, and snippets.

@orangewolf
Created February 26, 2016 20:53
Show Gist options
  • Save orangewolf/a4960719821d2f157f58 to your computer and use it in GitHub Desktop.
Save orangewolf/a4960719821d2f157f58 to your computer and use it in GitHub Desktop.
# Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install casks
brew tap caskroom/cask
echo 'export HOMEBREW_CASK_OPTS="--appdir=/Applications"' >> ~/.bash_profile
source ~/.bash_profile
# Install Postgresql via homebrew
brew install postgresql
# Start postgresql
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
# Install pgadmin
brew cask install pgadmin3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment