Last active
November 16, 2023 10:47
-
-
Save hkeeler/198b7ec40e2fb218bcd5 to your computer and use it in GitHub Desktop.
Installing Postgres With Homebrew and Lunchy
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
# Assumes Homebrew is already installed. | |
# If not, follow instructions on http://brew.sh/ | |
# INSTALLATION | |
# Update all Homebrew packages | |
brew update | |
# Upgrade Ruby to latest version | |
# NOTE: You'll need to `brew install ruby` if you haven't already installed Ruby | |
brew upgrade ruby | |
# Install Postgres via Homebrew | |
brew install postgres | |
# Install Lunchy Ruby Gem | |
# SEE: https://github.com/eddiezane/lunchy | |
gem install lunchy | |
# Link Postgres launchctl config via | |
lunchy install --symlink ~/homebrew/opt/postgresql/homebrew.mxcl.postgresql.plist | |
# Start Postgres service | |
lunchy start postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment