aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-04 14:29:24 +0100
committerChocobozzz <me@florianbigard.com>2021-02-04 14:31:18 +0100
commit9162476fe9fe022ff24bd42ff828aca7c68129ef (patch)
tree92c13395b0ef057c46e7368b9806067497dcffaa /support
parent3d4e112d16471703f51a542c0cc6e73a6f5db628 (diff)
downloadPeerTube-9162476fe9fe022ff24bd42ff828aca7c68129ef.tar.gz
PeerTube-9162476fe9fe022ff24bd42ff828aca7c68129ef.tar.zst
PeerTube-9162476fe9fe022ff24bd42ff828aca7c68129ef.zip
Support NodeJS 14 and 15, deprecate Node 10
Diffstat (limited to 'support')
-rw-r--r--support/doc/dependencies.md8
-rw-r--r--support/doc/tools.md3
-rw-r--r--support/docker/production/Dockerfile.buster2
3 files changed, 6 insertions, 7 deletions
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
30 30
312. It would be wise to disable root access and to continue this tutorial with a user with sudoers group access 312. It would be wise to disable root access and to continue this tutorial with a user with sudoers group access
32 32
333. Install NodeJS 10.x: 333. Install NodeJS 12.x:
34[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) 34[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)
354. Install yarn, and be sure to have [a recent version](https://github.com/yarnpkg/yarn/releases/latest): 354. Install yarn, and be sure to have [a recent version](https://github.com/yarnpkg/yarn/releases/latest):
36[https://yarnpkg.com/en/docs/install#linux-tab](https://yarnpkg.com/en/docs/install#linux-tab) 36[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
66 66
67## CentOS 7 67## CentOS 7
68 68
691. Install NodeJS 10.x: 691. Install NodeJS 12.x:
70[https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora) 70[https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora)
71 71
722. Install yarn: 722. Install yarn:
@@ -113,7 +113,7 @@ sudo systemctl enable --now postgresql
113 113
114## Centos 8 114## Centos 8
115 115
1161. Install NodeJS 10.x: 1161. Install NodeJS 12.x:
117[https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora) 117[https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora)
118 118
1192. Install yarn: 1192. Install yarn:
@@ -172,7 +172,7 @@ su my-peertube-user
1723. (Optional) Install certbot (choose instructions for your distribution): 1723. (Optional) Install certbot (choose instructions for your distribution):
173[https://certbot.eff.org/all-instructions](https://certbot.eff.org/all-instructions) 173[https://certbot.eff.org/all-instructions](https://certbot.eff.org/all-instructions)
174 174
1754. Install NodeJS 10.x: 1754. Install NodeJS 12.x:
176[https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora) 176[https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora)
177 177
1785. Install yarn: 1785. 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
39### Dependencies 39### Dependencies
40 40
41Install the [PeerTube dependencies](dependencies.md) except PostgreSQL and Redis. 41Install the [PeerTube dependencies](dependencies.md) except PostgreSQL and Redis.
42PeerTube supports NodeJS 12.
43 42
44### Installation 43### Installation
45 44
@@ -348,7 +347,7 @@ $ cd /var/www/peertube/peertube-latest
348$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run plugin:uninstall -- --npm-name peertube-plugin-myplugin 347$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run plugin:uninstall -- --npm-name peertube-plugin-myplugin
349``` 348```
350 349
351### REPL ([Read Eval Print Loop](https://nodejs.org/docs/latest-v10.x/api/repl.html)) 350### REPL (Read Eval Print Loop)
352 351
353If you want to interact with the application libraries and objects even when PeerTube is not running, there is a REPL for that. 352If you want to interact with the application libraries and objects even when PeerTube is not running, there is a REPL for that.
354 353
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 @@
1FROM node:10-buster-slim 1FROM node:12-buster-slim
2 2
3# Allow to pass extra options to the npm run build 3# Allow to pass extra options to the npm run build
4# eg: --light --light-fr to not build all client languages 4# eg: --light --light-fr to not build all client languages