···11+To update discourse, do the following:
22+33+1. Switch to and work from the `master` branch and the directory this
44+ file is in.
55+2. Run `./update.py print-diffs` and update the nginx settings and
66+ backend settings accordingly. If you don't know how to, ask for
77+ help - do not skip this step!
88+3. Run `./update.py update`.
99+4. Run `nix build -L -f ../../../../ discourse.tests` to make sure the
1010+ update works. Also test manually, if possible.
1111+5. If the update works, commit it. If not, apply necessary fixes and
1212+ commit. No manual fixes that would be overwritten by the
1313+ `./update.py` script should be committed - the script should be
1414+ fixed instead.
1515+6. Run `./update.py update-mail-receiver`. If there's an update, do
1616+ step 4 and 5 again.
1717+7. Run `./update.py update-plugins`.
1818+8. Run `nix build -L -f ../../../../ discourseAllPlugins.tests` to
1919+ make sure the plugins build and discourse starts with them. Also
2020+ test manually, if possible.
2121+9. If the update works, commit it. If not, apply necessary fixes and
2222+ commit. No manual fixes that would be overwritten by the
2323+ `./update.py` script should be committed - the script should be
2424+ fixed instead.