Install and configure PostgreSQL on Mac
brew install postgresqlbrew services start postgresqlbrew services stop postgresbrew services restart postgrespsql postgrescreateuser postgres --interactive
# make a superuser postgresl
createuser postgres -s
# Change password
alter user postgres with password 'YOUR_PASSWORD';brew postgresql-upgrade-database