From 0c7ab25402c4076c95b3c37e0a5c731b408581c7 Mon Sep 17 00:00:00 2001 From: Zachary Tong Date: Tue, 7 Jan 2014 18:14:11 -0500 Subject: [PATCH] Update readme with note about --no-dev --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 84c66aece..d49a67088 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ The recommended method to install _Elasticsearch-PHP_ is through [Composer](http 3. Install your dependencies: - php composer.phar install + php composer.phar install --no-dev 4. Require Composer's autoloader @@ -58,6 +58,8 @@ The recommended method to install _Elasticsearch-PHP_ is through [Composer](http ``` You can find out more on how to install Composer, configure autoloading, and other best-practices for defining dependencies at [getcomposer.org](http://getcomposer.org). +You'll notice that the installation command specified `--no-dev`. This prevents Composer from installing the various testing and development dependencies. For average users, there is no need to install the test suite (which also includes the complete source code of Elasticsearch). If you wish to contribute to development, just omit the `--no-dev` flag to be able to run tests. + Index a document -----