diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-03-21 03:40:47 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-03-21 12:38:03 +0300 |
commit | 40091ac65dd7b321898652fe9affcfa3aa50decc (patch) | |
tree | 070a09206572c9f6b177bcedf2d505ae18886511 /doc | |
parent | afe0f9007cf0864e0da76e0b400a56fc95fadb40 (diff) |
Merge branch '29730-9-0-upgrade-documentation-should-include-yarn' into 'master'
Resolve "9.0 upgrade documentation should include Yarn"
Closes #29730
See merge request !10101
Diffstat (limited to 'doc')
-rw-r--r-- | doc/update/8.17-to-9.0.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/update/8.17-to-9.0.md b/doc/update/8.17-to-9.0.md index 626507c0482..b7ba970031c 100644 --- a/doc/update/8.17-to-9.0.md +++ b/doc/update/8.17-to-9.0.md @@ -115,11 +115,11 @@ sudo -u git -H bundle clean # Run database migrations sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production -# Install/update frontend asset dependencies -sudo -u git -H npm install --production +# Update node dependencies and recompile assets +sudo -u git -H bundle exec rake yarn:install gitlab:assets:clean gitlab:assets:compile RAILS_ENV=production NODE_ENV=production -# Clean up assets and cache -sudo -u git -H bundle exec rake gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production +# Clean up cache +sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production ``` **MySQL installations**: Run through the `MySQL strings limits` and `Tables and data conversion to utf8mb4` [tasks](../install/database_mysql.md). |