aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc')
-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``: