Commit e21512ac authored by Cédric Anne's avatar Cédric Anne Committed by Johan Cwiklinski

Update dev install doc

parent 887fb5c1
......@@ -6,25 +6,10 @@ Installation procedure is entirely automated; there is an [installation document
When you are using the source code, there are extra steps, to get all third party libraries installed.
First, [download and install composer](https://getcomposer.org/), a PHP dependency management tool. Once done, go to the GLPI directory and just run:
```bash
$ composer install --no-dev
```
The `--no-dev` flag will prevent development dependencies (such as [atoum, the unit test tool](https://atoum.org)) to be installed. Of course, if you plan to develop on this instance, you must have them installed.
First, [download and install composer](https://getcomposer.org/), a PHP dependency management tool.
Second, [download and install npm](https://www.npmjs.com/), a JS dependency management tool.
Once done, go to the GLPI directory and run following command to retrieve dependencies from npm repository:
Once done, go to the GLPI directory and just run:
```bash
$ npm install
$ bin/console dependencies install
```
Then, you run the following command to build dependencies into files used by GLPI:
```bash
$ npm run-script build
```
You can use `npm run-script build-dev` if you want to build dependencies for a development use.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment