From a6e90c3e072ae7ef968b89c8077efe4a973c60f0 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Wed, 13 Jan 2021 12:23:24 +0100 Subject: [PATCH] Documentation: Add re-install section to README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9779006fa9..5ade55df19 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,14 @@ yarn encore dev ~~~~ This will update the JS (yarn) and PHP (composer) dependencies. +### Quick re-install + +If you have it installed in a dev environment and feel like you should clean it up completely (might be necessary after changes to the database), you can do so by: + +* Removing the `.env.local` +* Load the {url}/main/install/index.php script again + +The database should be automatically destroyed, table by table. In some extreme cases (a previous version created a table that is not necessary anymore and creates issues), you might want to clean it completely by just dropping it, but this shouldn't be necessary most of the time. ## Installation guide (Dev environment, stable environment not yet available)