summaryrefslogtreecommitdiff
path: root/doc/update/patch_versions.md
diff options
context:
space:
mode:
authorBaldinof <baldinof@gmail.com>2016-03-09 22:54:53 +0100
committerBaldinof <baldinof@gmail.com>2016-03-09 22:54:53 +0100
commita5079d219548c4e94eb78953811158c346225174 (patch)
treecf122ee677415a6891c60c244766680bdc3e288d /doc/update/patch_versions.md
parenta603422edb69248c822dd6c4a9d7860194d89a3d (diff)
parentd9042e8b399608fa189ffdb02efa8de30604088d (diff)
downloadgitlab-ce-a5079d219548c4e94eb78953811158c346225174.tar.gz
Merge branch 'master' into markdown_preview_shortcut
Diffstat (limited to 'doc/update/patch_versions.md')
-rw-r--r--doc/update/patch_versions.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/update/patch_versions.md b/doc/update/patch_versions.md
index a10e62877ba..f446ed0a35b 100644
--- a/doc/update/patch_versions.md
+++ b/doc/update/patch_versions.md
@@ -62,7 +62,13 @@ sudo -u git -H bundle install --without development test mysql --deployment
# MySQL
sudo -u git -H bundle install --without development test postgres --deployment
+# Optional: clean up old gems
+sudo -u git -H bundle clean
+
+# Run database migrations
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
+
+# Clean up assets and cache
sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production
```