From 11fdbaf87448818a821da8acef0be18fe155ed66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Thu, 26 Mar 2020 10:20:16 +0100 Subject: [PATCH] Add uninstallation docs See https://discuss.overhang.io/t/how-can-i-completely-uninstall-tutor/370 --- docs/install.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/install.rst b/docs/install.rst index a96abcd..149bf42 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -90,3 +90,26 @@ After opening a new shell, you can test auto-completion by typing:: tutor .. include:: podman.rst + +Uninstallation +-------------- + +It is fairly easy to completely uninstall Tutor and to delete the any Open edX platforms that is running locally. + +First of all, stop any locally-running platform:: + + tutor local stop + tutor dev stop + +Then, delete all data associated to your Open edX platform:: + + # WARNING: this step is irreversible + sudo rm -rf "$(tutor config printroot)" + +Finally, uninstall Tutor itself:: + + # If you installed tutor from source + pip uninstall tutor-openedx + + # If you downloaded the tutor binary + sudo rm /usr/local/bin/tutor