aboutsummaryrefslogtreecommitdiffstats
path: root/docs/updating/index.md
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-07-16 11:17:35 +0100
committerMatthew Somerville <matthew@mysociety.org>2020-07-16 11:17:35 +0100
commit8a37b57398e09ff13a7370b5119de734ecbc772a (patch)
treea3e4b2df250b70ec7d9e56265b5fca4b48a6c98a /docs/updating/index.md
parent3c7df6fa0186251363ea5a61a497b8920ecdb129 (diff)
parent1243e701620d71dfcf0eedb880f40e7fef59415d (diff)
Merge branch '2930-sudo-optional'
Diffstat (limited to 'docs/updating/index.md')
-rw-r--r--docs/updating/index.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/updating/index.md b/docs/updating/index.md
index 2ab8ed6f5..ea1ce72cd 100644
--- a/docs/updating/index.md
+++ b/docs/updating/index.md
@@ -53,12 +53,13 @@ you are too worried to merge in case it breaks something.
## Subsequent dependency updates
-After updating the code, you should run the following command to update any
+After updating the code, you should run the following commands to update any
needed dependencies and any schema changes to your database. It's a good idea
to take a backup of your database first.
{% highlight bash %}
-script/update
+sudo bin/install_packages # (as your admin user)
+script/update # (as the fms user)
{% endhighlight %}
Of course, if you have made changes to the database schema yourself, this may