From 867ed6514db0ff67934304eac45c8dbf44e6eddc Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 10 Nov 2020 14:51:01 +0100 Subject: [PATCH] move dependencies versions list to engines in package.json --- README.md | 9 --------- package.json | 5 ++++- support/doc/dependencies.md | 2 ++ 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5e6a680de..3704f8b3d 100644 --- a/README.md +++ b/README.md @@ -159,15 +159,6 @@ Feel free to reach out if you have any questions or ideas! :speech_balloon: :package: Create your own instance ---------------------------------------------------------------- -#### Dependencies - - * nginx - * **PostgreSQL >= 9.6** - * **Redis >= 2.8.18** - * **NodeJS >= 10.x** - * **yarn >= 1.x** - * **FFmpeg >= 4.1** - See the [production guide](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md), which is the recommended way to install or upgrade PeerTube. For hardware requirements, see [Should I have a big server to run PeerTube?](https://github.com/Chocobozzz/PeerTube/blob/develop/FAQ.md#should-i-have-a-big-server-to-run-peertube) in the FAQ. See the [community packages](https://docs.joinpeertube.org/#/install-unofficial), which cover various platforms (including [YunoHost](https://install-app.yunohost.org/?app=peertube) and [Docker](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/docker.md)). diff --git a/package.json b/package.json index 76e59a517..3a3149906 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,10 @@ "licence": "AGPL-3.0", "engines": { "node": ">=10.x <13", - "yarn": ">=1.x" + "yarn": ">=1.x", + "postgres": ">=9.6", + "redis-server": ">=2.8.18", + "ffmpeg": ">=4.1" }, "bin": { "peertube": "dist/server/tools/peertube.js" diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md index e930c015e..094e6b798 100644 --- a/support/doc/dependencies.md +++ b/support/doc/dependencies.md @@ -1,5 +1,7 @@ # Dependencies +Follow the below guides, and check their versions match [required external dependencies versions](package.json#7). You can check them automatically via `npx engineslist`. +