Postgresql is the database management system (DBMS) used by the registration system. Follow these instructions to set it up
- Install homebrew
- Install postgres
brew install postgres - Create a launch agents directory
mkdir -p ~/Library/LaunchAgents - Create symlinks to LaunchAgents
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents - Run this command to start postgres automatically on startup
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist. NOTE the path~/Library/LaunchAgents/homebrew.mxcl.postgresql.plistmight be different on your computer! Dubblecheck if it is different!
You might have to add the following lines to your .zprofile
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"
Follow the installation instructions on postgresql's website
- Run the command
createuser -s -P name_of_userto create a user with super-user privileges and with a password - Run the command
createdb -O name_of_user mooreto create a database calledmoorewith the owner set to the user you created previously
You have now setup postgresql!