From b1774326f39c3545ccd7f16199876030f1040e1e Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 30 Nov 2019 08:54:46 +0100 Subject: [PATCH] [enh] README upgrade and install extensions --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 97ee500..e0bd3bb 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,21 @@ Required parameters are: After installation, simply open your browser to Flarum's page. First loading may be a bit longer as assets are generated. +## Upgrading + +Note that all third-party extensions are removed upon upgrading. + +## Adding extensions after installation + +Replace `flarum` with your app ID in case of multiple installation. +Replace `vendor/extension` with the appropriate names. Read the extension documentation if it requires additional steps. + +```bash +app=flarum +cd /var/www/$app +sudo -u $app php7.3 composer.phar require vendor/extension +``` + ## Troubleshooting ### `Low memory` errors