From 9162476fe9fe022ff24bd42ff828aca7c68129ef Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 4 Feb 2021 14:29:24 +0100 Subject: Support NodeJS 14 and 15, deprecate Node 10 --- support/doc/dependencies.md | 8 ++++---- support/doc/tools.md | 3 +-- support/docker/production/Dockerfile.buster | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) (limited to 'support') diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md index 350a7c4a0..1faf46c63 100644 --- a/support/doc/dependencies.md +++ b/support/doc/dependencies.md @@ -30,7 +30,7 @@ _note_: only **LTS** versions of external dependencies are supported. If no LTS 2. It would be wise to disable root access and to continue this tutorial with a user with sudoers group access -3. Install NodeJS 10.x: +3. Install NodeJS 12.x: [https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions) 4. Install yarn, and be sure to have [a recent version](https://github.com/yarnpkg/yarn/releases/latest): [https://yarnpkg.com/en/docs/install#linux-tab](https://yarnpkg.com/en/docs/install#linux-tab) @@ -66,7 +66,7 @@ sudo systemctl start redis postgresql ## CentOS 7 -1. Install NodeJS 10.x: +1. Install NodeJS 12.x: [https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora) 2. Install yarn: @@ -113,7 +113,7 @@ sudo systemctl enable --now postgresql ## Centos 8 -1. Install NodeJS 10.x: +1. Install NodeJS 12.x: [https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora) 2. Install yarn: @@ -172,7 +172,7 @@ su my-peertube-user 3. (Optional) Install certbot (choose instructions for your distribution): [https://certbot.eff.org/all-instructions](https://certbot.eff.org/all-instructions) -4. Install NodeJS 10.x: +4. Install NodeJS 12.x: [https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora) 5. Install yarn: diff --git a/support/doc/tools.md b/support/doc/tools.md index 62ba52111..e6c4c2010 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md @@ -39,7 +39,6 @@ You need to follow all the following steps even if you are on a PeerTube server ### Dependencies Install the [PeerTube dependencies](dependencies.md) except PostgreSQL and Redis. -PeerTube supports NodeJS 12. ### Installation @@ -348,7 +347,7 @@ $ cd /var/www/peertube/peertube-latest $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run plugin:uninstall -- --npm-name peertube-plugin-myplugin ``` -### REPL ([Read Eval Print Loop](https://nodejs.org/docs/latest-v10.x/api/repl.html)) +### REPL (Read Eval Print Loop) If you want to interact with the application libraries and objects even when PeerTube is not running, there is a REPL for that. diff --git a/support/docker/production/Dockerfile.buster b/support/docker/production/Dockerfile.buster index 457936090..f06a22c00 100644 --- a/support/docker/production/Dockerfile.buster +++ b/support/docker/production/Dockerfile.buster @@ -1,4 +1,4 @@ -FROM node:10-buster-slim +FROM node:12-buster-slim # Allow to pass extra options to the npm run build # eg: --light --light-fr to not build all client languages -- cgit v1.2.3