diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-04 14:29:24 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-04 14:31:18 +0100 |
commit | 9162476fe9fe022ff24bd42ff828aca7c68129ef (patch) | |
tree | 92c13395b0ef057c46e7368b9806067497dcffaa /support/doc | |
parent | 3d4e112d16471703f51a542c0cc6e73a6f5db628 (diff) | |
download | PeerTube-9162476fe9fe022ff24bd42ff828aca7c68129ef.tar.gz PeerTube-9162476fe9fe022ff24bd42ff828aca7c68129ef.tar.zst PeerTube-9162476fe9fe022ff24bd42ff828aca7c68129ef.zip |
Support NodeJS 14 and 15, deprecate Node 10
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/dependencies.md | 8 | ||||
-rw-r--r-- | support/doc/tools.md | 3 |
2 files changed, 5 insertions, 6 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 | ||
31 | 2. It would be wise to disable root access and to continue this tutorial with a user with sudoers group access | 31 | 2. It would be wise to disable root access and to continue this tutorial with a user with sudoers group access |
32 | 32 | ||
33 | 3. Install NodeJS 10.x: | 33 | 3. 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) |
35 | 4. Install yarn, and be sure to have [a recent version](https://github.com/yarnpkg/yarn/releases/latest): | 35 | 4. 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 | ||
69 | 1. Install NodeJS 10.x: | 69 | 1. 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 | ||
72 | 2. Install yarn: | 72 | 2. Install yarn: |
@@ -113,7 +113,7 @@ sudo systemctl enable --now postgresql | |||
113 | 113 | ||
114 | ## Centos 8 | 114 | ## Centos 8 |
115 | 115 | ||
116 | 1. Install NodeJS 10.x: | 116 | 1. 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 | ||
119 | 2. Install yarn: | 119 | 2. Install yarn: |
@@ -172,7 +172,7 @@ su my-peertube-user | |||
172 | 3. (Optional) Install certbot (choose instructions for your distribution): | 172 | 3. (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 | ||
175 | 4. Install NodeJS 10.x: | 175 | 4. 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 | ||
178 | 5. Install yarn: | 178 | 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 | |||
39 | ### Dependencies | 39 | ### Dependencies |
40 | 40 | ||
41 | Install the [PeerTube dependencies](dependencies.md) except PostgreSQL and Redis. | 41 | Install the [PeerTube dependencies](dependencies.md) except PostgreSQL and Redis. |
42 | PeerTube 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 | ||
353 | If you want to interact with the application libraries and objects even when PeerTube is not running, there is a REPL for that. | 352 | If you want to interact with the application libraries and objects even when PeerTube is not running, there is a REPL for that. |
354 | 353 | ||