diff options
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/dependencies.md | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md index adce70c97..1973eaae3 100644 --- a/support/doc/dependencies.md +++ b/support/doc/dependencies.md | |||
@@ -2,7 +2,16 @@ | |||
2 | 2 | ||
3 | :warning: **Warning**: dependencies guide is maintained by the community. Some parts may be outdated! :warning: | 3 | :warning: **Warning**: dependencies guide is maintained by the community. Some parts may be outdated! :warning: |
4 | 4 | ||
5 | Follow the below guides, and check their versions match [required external dependencies versions](https://github.com/Chocobozzz/PeerTube/blob/master/engines.yaml). You can check them automatically via `sudo npx engineslist`. | 5 | Follow the below guides, and check their versions match [required external dependencies versions](https://github.com/Chocobozzz/PeerTube/blob/master/engines.yaml). |
6 | |||
7 | Main dependencies version supported by PeerTube: | ||
8 | |||
9 | * `node` >=14.x | ||
10 | * `yarn` >=1.x | ||
11 | * `postgres` >=10.x | ||
12 | * `redis-server` >=5.x | ||
13 | * `ffmpeg` >=4.1 | ||
14 | |||
6 | 15 | ||
7 | _note_: only **LTS** versions of external dependencies are supported. If no LTS version matching the version constraint is available, only **release** versions are supported. | 16 | _note_: only **LTS** versions of external dependencies are supported. If no LTS version matching the version constraint is available, only **release** versions are supported. |
8 | 17 | ||
@@ -64,6 +73,7 @@ sudo apt update | |||
64 | sudo apt install certbot nginx ffmpeg postgresql postgresql-contrib openssl g++ make redis-server git cron wget | 73 | sudo apt install certbot nginx ffmpeg postgresql postgresql-contrib openssl g++ make redis-server git cron wget |
65 | ffmpeg -version # Should be >= 4.1 | 74 | ffmpeg -version # Should be >= 4.1 |
66 | g++ -v # Should be >= 5.x | 75 | g++ -v # Should be >= 5.x |
76 | redis-server --version # Should be >= 5.x | ||
67 | ``` | 77 | ``` |
68 | 78 | ||
69 | Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: | 79 | Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: |
@@ -263,6 +273,7 @@ This is necessary because `ffmpeg` is not in the Fedora repos. | |||
263 | sudo dnf install nginx ffmpeg postgresql-server postgresql-contrib openssl gcc-c++ make redis git vim | 273 | sudo dnf install nginx ffmpeg postgresql-server postgresql-contrib openssl gcc-c++ make redis git vim |
264 | ffmpeg -version # Should be >= 4.1 | 274 | ffmpeg -version # Should be >= 4.1 |
265 | g++ -v # Should be >= 5.x | 275 | g++ -v # Should be >= 5.x |
276 | redis-server --version # Should be >= 5.x | ||
266 | ``` | 277 | ``` |
267 | 278 | ||
268 | 8. Configure nginx | 279 | 8. Configure nginx |