aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAxel Viala <axel.viala@darnuria.eu>2021-03-29 15:49:59 +0200
committerGitHub <noreply@github.com>2021-03-29 15:49:59 +0200
commit02d6226abc53840b046060d28e8a13c568613db1 (patch)
tree87f90c80c3074fcdcc109922e617f1af90b4cc8e
parentcf3c36247d623ddf1c64e755046d7d807f578a83 (diff)
downloadPeerTube-02d6226abc53840b046060d28e8a13c568613db1.tar.gz
PeerTube-02d6226abc53840b046060d28e8a13c568613db1.tar.zst
PeerTube-02d6226abc53840b046060d28e8a13c568613db1.zip
update dependencies.md for macOSX (#3899)
add instructions regarding postgresql and bash user/version required for a proper MacOSX install of PeerTube Co-authored-by: Rozen10 <58482276+Rozen10@users.noreply.github.com> Co-authored-by: Rigel Kent <par@rigelk.eu>
-rw-r--r--support/doc/dependencies.md21
1 files changed, 19 insertions, 2 deletions
diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md
index 0fdbdfc82..9666d72af 100644
--- a/support/doc/dependencies.md
+++ b/support/doc/dependencies.md
@@ -281,17 +281,34 @@ service nginx start
281 281
2821. Add the packages: 2821. Add the packages:
283 283
284```sh
285brew install bash ffmpeg nginx postgresql openssl gcc make redis git yarn
284``` 286```
285brew install ffmpeg nginx postgresql openssl gcc make redis git yarn 287
288You may need to update your default version of bash.
289
290**How to change your default shell**
291
292```sh
293which -a bash # Check where bash is installed
294bash --version # You need a version at least as recent as 4.0
295sudo vim /etc/shells # Add in this file : /usr/local/bin/bash
296chsh -s /usr/local/bin/bash # To set the brew-installed bash as default bash
286``` 297```
287 298
299In a new shell, type `bash --version` to assert your changes took effect and
300correctly modified your default bash version.
301
2882. Run the services: 3022. Run the services:
289 303
290``` 304```sh
291brew services run postgresql 305brew services run postgresql
292brew services run redis 306brew services run redis
293``` 307```
294 308
309On macOS, the `postgresql` user can be `_postgres` instead of `postgres`.
310If `sudo -u postgres createuser -P peertube` gives you an error, you can try `sudo -u _postgres createuser -U peertube`.
311
295## Gentoo 312## Gentoo
296 313
2971. Add this to ``/etc/portage/sets/peertube``: 3141. Add this to ``/etc/portage/sets/peertube``: