diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-24 13:52:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-24 13:52:32 +0100 |
commit | 4ff75a3b2c48b2b0a1250cb551d2b73eb26d5296 (patch) | |
tree | 5341c35344a167dd51e29f5419ac7a26dcc735e7 /support | |
parent | 5a637488778055906dbacdca735565b2f46f0cf7 (diff) | |
download | PeerTube-4ff75a3b2c48b2b0a1250cb551d2b73eb26d5296.tar.gz PeerTube-4ff75a3b2c48b2b0a1250cb551d2b73eb26d5296.tar.zst PeerTube-4ff75a3b2c48b2b0a1250cb551d2b73eb26d5296.zip |
Deprecate node 12
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/dependencies.md | 14 | ||||
-rw-r--r-- | support/docker/production/Dockerfile.bullseye | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md index 711fd2d7f..61b0fc6bc 100644 --- a/support/doc/dependencies.md +++ b/support/doc/dependencies.md | |||
@@ -77,7 +77,7 @@ sudo systemctl start redis postgresql | |||
77 | 1. Run: | 77 | 1. Run: |
78 | 78 | ||
79 | ``` | 79 | ``` |
80 | sudo pacman -S nodejs-lts-fermium yarn ffmpeg postgresql openssl redis git wget unzip python base-devel npm nginx | 80 | sudo pacman -S nodejs-lts-fermium yarn ffmpeg postgresql openssl redis git wget unzip python base-devel npm nginx |
81 | ``` | 81 | ``` |
82 | 82 | ||
83 | Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: | 83 | Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: |
@@ -88,7 +88,7 @@ sudo systemctl start redis postgresql | |||
88 | 88 | ||
89 | ## CentOS 7 | 89 | ## CentOS 7 |
90 | 90 | ||
91 | 1. Install NodeJS 12.x: | 91 | 1. Install NodeJS 14.x: |
92 | [https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora) | 92 | [https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora) |
93 | 93 | ||
94 | 2. Install yarn: | 94 | 2. Install yarn: |
@@ -135,7 +135,7 @@ sudo systemctl enable --now postgresql | |||
135 | 135 | ||
136 | ## Centos 8 | 136 | ## Centos 8 |
137 | 137 | ||
138 | 1. Install NodeJS 12.x: | 138 | 1. Install NodeJS 14.x: |
139 | [https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora) | 139 | [https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora) |
140 | 140 | ||
141 | 2. Install yarn: | 141 | 2. Install yarn: |
@@ -180,9 +180,9 @@ sudo systemctl enable --now postgresql | |||
180 | sudo dnf update -y | 180 | sudo dnf update -y |
181 | ``` | 181 | ``` |
182 | 182 | ||
183 | 2. Install NodeJS 12.x (or 14): | 183 | 2. Install NodeJS 14.x: |
184 | ``` | 184 | ``` |
185 | sudo dnf module install -y nodejs:12 | 185 | sudo dnf module install -y nodejs:14 |
186 | ``` | 186 | ``` |
187 | 187 | ||
188 | 3. Install yarn: | 188 | 3. Install yarn: |
@@ -239,7 +239,7 @@ su my-peertube-user | |||
239 | 3. (Optional) Install certbot (choose instructions for your distribution): | 239 | 3. (Optional) Install certbot (choose instructions for your distribution): |
240 | [https://certbot.eff.org/all-instructions](https://certbot.eff.org/all-instructions) | 240 | [https://certbot.eff.org/all-instructions](https://certbot.eff.org/all-instructions) |
241 | 241 | ||
242 | 4. Install NodeJS 12.x: | 242 | 4. Install NodeJS 14.x: |
243 | [https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora) | 243 | [https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora) |
244 | 244 | ||
245 | 5. Install yarn: | 245 | 5. Install yarn: |
@@ -331,7 +331,7 @@ echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo s | |||
331 | 2. Install Node.JS | 331 | 2. Install Node.JS |
332 | 332 | ||
333 | ``` | 333 | ``` |
334 | sudo dnf module install nodejs:12 | 334 | sudo dnf module install nodejs:14 |
335 | ``` | 335 | ``` |
336 | 336 | ||
337 | 3. Install Yarn | 337 | 3. Install Yarn |
diff --git a/support/docker/production/Dockerfile.bullseye b/support/docker/production/Dockerfile.bullseye index ec06d6b1d..262fc427a 100644 --- a/support/docker/production/Dockerfile.bullseye +++ b/support/docker/production/Dockerfile.bullseye | |||
@@ -1,4 +1,4 @@ | |||
1 | FROM node:12-bullseye-slim | 1 | FROM node:14-bullseye-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 |