diff options
author | Chocobozzz <me@florianbigard.com> | 2022-09-27 10:39:32 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-09-27 10:45:50 +0200 |
commit | 9ef3aeac3792e67217faf61117606882ff31ddf6 (patch) | |
tree | e339cbb34f0d5cb80c74d0fc54cf8c1a7615ebd3 | |
parent | 52444ea13c72ccf6ff09c629710a545b7e8283df (diff) | |
download | PeerTube-9ef3aeac3792e67217faf61117606882ff31ddf6.tar.gz PeerTube-9ef3aeac3792e67217faf61117606882ff31ddf6.tar.zst PeerTube-9ef3aeac3792e67217faf61117606882ff31ddf6.zip |
Update dependencies version supported by peertube
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | engines.yaml | 5 | ||||
-rw-r--r-- | support/doc/dependencies.md | 13 |
3 files changed, 16 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 64d3c9bdb..64b5443ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -2,6 +2,10 @@ | |||
2 | 2 | ||
3 | ## v4.3.0 | 3 | ## v4.3.0 |
4 | 4 | ||
5 | ### IMPORTANT NOTES | ||
6 | |||
7 | * Redis **<** 5.x is not supported anymore | ||
8 | |||
5 | ### Maintenance | 9 | ### Maintenance |
6 | 10 | ||
7 | * Use `yt-dlp` by default instead of `youtube-dl` for new installations (because of much more dev activity) | 11 | * Use `yt-dlp` by default instead of `youtube-dl` for new installations (because of much more dev activity) |
diff --git a/engines.yaml b/engines.yaml deleted file mode 100644 index 5a68ca4ba..000000000 --- a/engines.yaml +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | node: ">=12.x" | ||
2 | yarn: ">=1.x" | ||
3 | postgres: ">=10.x" | ||
4 | redis-server: ">=2.8.18" | ||
5 | ffmpeg: ">=4.1" | ||
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 |