summaryrefslogtreecommitdiff
path: root/docs/admin/updating.md
diff options
context:
space:
mode:
authorAlex S <alex.strizhakov@gmail.com>2019-05-01 12:29:33 +0700
committerAlex S <alex.strizhakov@gmail.com>2019-05-01 12:29:33 +0700
commitbdfa3a6fa87f95e93aa853ec4961645215f31221 (patch)
tree467b9dd762c9878541e34f2b38a1c58e387c8f2c /docs/admin/updating.md
parent97b35e00b049c8f908484163b5ffdbcb55db7867 (diff)
parent77690b9d03facf74483e3379f72b5b51c9f1bd4e (diff)
downloadpleroma-bdfa3a6fa87f95e93aa853ec4961645215f31221.tar.gz
pleroma-bdfa3a6fa87f95e93aa853ec4961645215f31221.zip
Merging with develop
Conflicts: lib/pleroma/web/activity_pub/transmogrifier.ex lib/pleroma/user.ex
Diffstat (limited to 'docs/admin/updating.md')
-rw-r--r--docs/admin/updating.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/admin/updating.md b/docs/admin/updating.md
new file mode 100644
index 000000000..84e6ef18d
--- /dev/null
+++ b/docs/admin/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.