Replace brew prefix with dynamic lookup (#234)

Homebrew changed their default installation location, so using /usr/local might not work out-of-the-box for everyone, and will not work for more and more people going forward.
This commit is contained in:
Pascal de Vink 2023-06-26 12:24:53 +01:00 committed by GitHub
parent 14eef8c998
commit ffbecd5b25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ macOS:
```bash
brew install postgresql
brew services start postgresql
/usr/local/opt/postgres/bin/createuser -s postgres
$(brew --prefix postgresql)/bin/createuser -s postgres
```
Either execute `scripts/db-init.sh`, or manually initialize the postgres database: