Commit f5bc48cf authored by Filipa Lacerda's avatar Filipa Lacerda

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
parents 7601d8b0 543f68b8
...@@ -115,11 +115,11 @@ sudo -u git -H bundle clean ...@@ -115,11 +115,11 @@ sudo -u git -H bundle clean
# Run database migrations # Run database migrations
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
# Install/update frontend asset dependencies # Update node dependencies and recompile assets
sudo -u git -H npm install --production 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 # Clean up cache
sudo -u git -H bundle exec rake gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production 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). **MySQL installations**: Run through the `MySQL strings limits` and `Tables and data conversion to utf8mb4` [tasks](../install/database_mysql.md).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment