docs: Add upgrade guide

This commit is contained in:
Matthew Wild 2021-05-19 16:02:39 +01:00
parent 1bc336d933
commit 26e1e6559a
1 changed files with 26 additions and 0 deletions

26
docs/setup/upgrading.md Normal file
View File

@ -0,0 +1,26 @@
---
title: "Upgrading your Snikket server"
date: 2021-05-19T14:32:02Z
---
Upgrading to a new Snikket release is typically very easy.
## snikket-selfhosted
If you installed Snikket using the [snikket-selfhosted][] scripts, simply run:
cd /opt/snikket
git pull
./scripts/update.sh
## Snikket quickstart
If you're using a version installed from the [original quickstart][] guide on
the website, use these commands instead:
cd /etc/snikket
docker-compose pull
docker-compose up -d
[snikket-selfhosted]: https://github.com/snikket-im/snikket-selfhosted
[original quickstart]: https://snikket.org/service/quickstart/