summaryrefslogtreecommitdiff
path: root/docs/administration/updating.md
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-10-06 09:30:49 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-10-06 09:30:49 +0300
commitf459aabdfafa990b33610438650f882ccac072d2 (patch)
treee5bfcb4f8fc7c2dd06e08f90b3a841c4f9ad759a /docs/administration/updating.md
parent6ffa2b5f661c2db424334c6fb5de6f4d1bfeb745 (diff)
parent9e34919dcdbeedf8eb623dc86b05f63ef44d8859 (diff)
downloadpleroma-f459aabdfafa990b33610438650f882ccac072d2.tar.gz
pleroma-f459aabdfafa990b33610438650f882ccac072d2.zip
Merge remote-tracking branch 'remotes/upstream/develop' into 1260-rate-limited-auth-actions
# Conflicts: # CHANGELOG.md
Diffstat (limited to 'docs/administration/updating.md')
-rw-r--r--docs/administration/updating.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/administration/updating.md b/docs/administration/updating.md
new file mode 100644
index 000000000..84e6ef18d
--- /dev/null
+++ b/docs/administration/updating.md
@@ -0,0 +1,9 @@
+# Updating your instance
+1. Go to the working directory of Pleroma (default is `/opt/pleroma`)
+2. Run `git pull`. This pulls the latest changes from upstream.
+3. Run `mix deps.get`. This pulls in any new dependencies.
+4. Stop the Pleroma service.
+5. Run `mix ecto.migrate`[^1]. This task performs database migrations, if there were any.
+6. Start the Pleroma service.
+
+[^1]: Prefix with `MIX_ENV=prod` to run it using the production config file.