doc: simplify composer installation procedure
This commit is contained in:
parent
1001cc108f
commit
6fa3c87d32
1 changed files with 3 additions and 12 deletions
|
@ -6,24 +6,15 @@ The framework used is [PHPUnit](https://phpunit.de/); it can be installed with [
|
||||||
|
|
||||||
You can either use:
|
You can either use:
|
||||||
|
|
||||||
- a system-wide version, e.g. installed through your distro's package manager
|
- a system-wide version, e.g. installed through your distro's package manager (eg. `sudo apt install composer`)
|
||||||
- a local version, downloadable [here](https://getcomposer.org/download/).
|
- a local version, downloadable [here](https://getcomposer.org/download/). To update a local composer installation, run `php composer.phar self-update`
|
||||||
|
|
||||||
```bash
|
|
||||||
# system-wide version
|
|
||||||
$ composer install
|
|
||||||
$ composer update
|
|
||||||
|
|
||||||
# local version
|
|
||||||
$ php composer.phar self-update
|
|
||||||
$ php composer.phar install
|
|
||||||
$ php composer.phar update
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Install Shaarli dev dependencies
|
#### Install Shaarli dev dependencies
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd /path/to/shaarli
|
$ cd /path/to/shaarli
|
||||||
|
$ composer install
|
||||||
$ composer update
|
$ composer update
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue