aboutsummaryrefslogtreecommitdiff
path: root/docs/administration/updating.md
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-10-05 10:42:29 +0200
committerlain <lain@soykaf.club>2019-10-05 10:42:29 +0200
commitd9aaea44ff02d6a07d3be0f0675830eb51ac85ef (patch)
treece715c85f98875dd0ddf133f95a071fd40b91335 /docs/administration/updating.md
parent8e83c8423fa846e82103b20798f0cbde676354ff (diff)
parent9c47d8571c6c46503d9bb836aea933eda6e9e0a5 (diff)
downloadpleroma-d9aaea44ff02d6a07d3be0f0675830eb51ac85ef.tar.gz
Merge remote-tracking branch 'origin/develop' into reactions
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.