mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-01 10:09:54 +00:00
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:
parent
14eef8c998
commit
ffbecd5b25
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ macOS:
|
||||||
```bash
|
```bash
|
||||||
brew install postgresql
|
brew install postgresql
|
||||||
brew services start 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:
|
Either execute `scripts/db-init.sh`, or manually initialize the postgres database:
|
||||||
|
|
Loading…
Reference in a new issue