summaryrefslogtreecommitdiff
path: root/doc/install
diff options
context:
space:
mode:
authorLukas Eipert <leipert@gitlab.com>2019-06-14 08:54:44 +0200
committerLukas Eipert <leipert@gitlab.com>2019-06-14 10:11:57 +0200
commitb7de40f6889a1ba536e034193223e8c76ac99276 (patch)
tree3b88e002669805ea26d3f1c773ca9c137d57d1e6 /doc/install
parent72b107a5fc11f2c982273ee932cba94fe9f1aa58 (diff)
downloadgitlab-ce-b7de40f6889a1ba536e034193223e8c76ac99276.tar.gz
Update to node@12leipert-node-12
This updates our build images to use node@12. We are also adding a sentence to the from-source installation that while we require a minimum version of node@8, we also recommend node@12. Last but not least, we change the version of node in the .nvmrc so that developers using nvm can automatically use node@12 with the project
Diffstat (limited to 'doc/install')
-rw-r--r--doc/install/installation.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index eb484dde545..e73bf2c16ff 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -263,7 +263,7 @@ Since GitLab 8.17, GitLab requires the use of Node to compile JavaScript
assets, and Yarn to manage JavaScript dependencies. The current minimum
requirements for these are:
-- `node` >= v8.10.0.
+- `node` >= v8.10.0. (We recommend node 12.x as it is faster)
- `yarn` >= v1.10.0.
In many distros,
@@ -271,8 +271,8 @@ the versions provided by the official package repositories are out of date, so
we'll need to install through the following commands:
```sh
-# install node v8.x
-curl --location https://deb.nodesource.com/setup_8.x | sudo bash -
+# install node v12.x
+curl --location https://deb.nodesource.com/setup_12.x | sudo bash -
sudo apt-get install -y nodejs
curl --silent --show-error https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
@@ -493,7 +493,7 @@ sudo -u git -H editor config/resque.yml
```
CAUTION: **Caution:**
-Make sure to edit both `gitlab.yml` and `unicorn.rb` to match your setup.
+Make sure to edit both `gitlab.yml` and `unicorn.rb` to match your setup.
If you want to use Puma web server, see [Using Puma](#using-puma) for the additional steps.
NOTE: **Note:**