Skip to content

Commit

Permalink
Update readme with note about --no-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed Jan 7, 2014
1 parent 6ae948a commit 0c7ab25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
-----

Expand Down

0 comments on commit 0c7ab25

Please sign in to comment.