From 0c137f7dace052015757ad49ff82bdbfb5f089d5 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Sun, 9 Nov 2014 15:36:52 +0100 Subject: Consider composer.json dependencies in installation and upgrading instructions and scripts --- INSTALL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index df11239b6..918be8815 100644 --- a/INSTALL +++ b/INSTALL @@ -49,7 +49,7 @@ INSTALLATION 2. Install dependencies using composer: - get composer from https://getcomposer.org/download/ - rename the composer.json-dist file into composer.json - - run `php composer.phar install` + - run `php composer.phar install --no-dev` 3. Make sure that the following directories (and the files within) are writable by the webserver - /temp -- cgit v1.2.3 From d4a820ed2b47d43c57aa16e65dee778be2426ba6 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Sun, 9 Nov 2014 15:43:57 +0100 Subject: Better wording about composer dependency --- INSTALL | 2 +- UPGRADING | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 918be8815..ef1c59b85 100644 --- a/INSTALL +++ b/INSTALL @@ -39,7 +39,7 @@ REQUIREMENTS or SQLite support in PHP * One of the above databases with permission to create tables * An SMTP server (recommended) or PHP configured for mail delivery -* Composer installed either locally or globally +* Composer installed either locally or globally (https://getcomposer.org) INSTALLATION diff --git a/UPGRADING b/UPGRADING index 193a73c92..358e2669f 100644 --- a/UPGRADING +++ b/UPGRADING @@ -40,6 +40,7 @@ it on a unix system, you need to do the following operations by hand: directory into the target folder: ./skins/ ./plugins/ + ./vendor/ 4. Run `./bin/update.sh` from the commandline OR open http://url-to-roundcube/installer/ in a browser and choose "3 Test config". To enable the latter one, you have to temporary set 'enable_installer' @@ -47,7 +48,8 @@ it on a unix system, you need to do the following operations by hand: WARNING: See SQLite database upgrade below. 5. Let the update script/installer check your configuration and update your config files and database schema as suggested by the updater. -5. Update dependencies by running `php composer.phar update --no-dev` +5. If you previously installed plugins through composer, update dependencies + by running `php composer.phar update --no-dev` 7. Make sure 'enable_installer' is set to false again. 8. See Post-Upgrade Activities section. -- cgit v1.2.3