summaryrefslogtreecommitdiff
path: root/doc/update
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-03-20 17:11:31 -0500
committerMike Greiling <mike@pixelcog.com>2017-03-20 17:11:31 -0500
commit543f68b8f2f26661a8880956651f2c2ccf4e9136 (patch)
treed8ed6531a9d4b80cb5a17d60a78f77739224acda /doc/update
parentb26d4d2ac4cdf3a66e16918dae28d9b724557dd2 (diff)
downloadgitlab-ce-543f68b8f2f26661a8880956651f2c2ccf4e9136.tar.gz
fix recompile assets step in 9.0 upgrade guide to use yarn
Diffstat (limited to 'doc/update')
-rw-r--r--doc/update/8.17-to-9.0.md8
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).