move dependencies versions list to engines in package.json

pull/3289/head
Rigel Kent 2020-11-10 14:51:01 +01:00
parent 7a4ea93246
commit 867ed6514d
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
3 changed files with 6 additions and 10 deletions

View File

@ -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)).

View File

@ -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"

View File

@ -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`.
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->