diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2017-02-17 19:46:23 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2017-02-17 19:46:23 +0000 |
commit | f2552696277a502927b6ceaf5a2c4ec78afbc48e (patch) | |
tree | dd1cb5d8c9a537b491ff4f78c9432f913ea2ee8a /doc | |
parent | 63cb6c843fd6b7f99042049c31643bbeceef4a95 (diff) | |
parent | c77b68d627f9f8e8eaacd61bc352aadf0b904c16 (diff) | |
download | gitlab-ce-f2552696277a502927b6ceaf5a2c4ec78afbc48e.tar.gz |
Merge branch 'add-yarn-documentation' into 'master'
Update documentation to include yarn in our dependencies
See merge request !9316
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install/installation.md | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md index 1a4e45a65aa..5ba338ba7d1 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -155,15 +155,19 @@ page](https://golang.org/dl). ## 4. Node Since GitLab 8.17, GitLab requires the use of node >= v4.3.0 to compile -javascript assets. In many distros the version provided by the official package -repositories is out of date, so we'll need to install through the following -commands: +javascript assets, and starting in GitLab 9.0, yarn >= v0.17.0 is required to +manage javascript dependencies. In many distros the versions provided by the +official package repositories are out of date, so we'll need to install through +the following commands: # install node v7.x curl --location https://deb.nodesource.com/setup_7.x | bash - sudo apt-get install -y nodejs -Visit the official website for [node](https://nodejs.org/en/download/package-manager/) if you have any trouble with this step. + # install yarn + curl --location https://yarnpkg.com/install.sh | bash - + +Visit the official websites for [node](https://nodejs.org/en/download/package-manager/) and [yarn](https://yarnpkg.com/en/docs/install/) if you have any trouble with these steps. ## 5. System Users @@ -465,7 +469,7 @@ Check if GitLab and its environment are configured correctly: ### Compile Assets - sudo -u git -H npm install --production + sudo -u git -H yarn install --production --pure-lockfile sudo -u git -H bundle exec rake gitlab:assets:compile RAILS_ENV=production NODE_ENV=production ### Start Your GitLab Instance |