aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2020-01-19 12:40:28 +0100
committernodiscc <nodiscc@gmail.com>2020-01-19 13:05:21 +0100
commit6fa3c87d32dd16655ffb37865e1585b2b35154cd (patch)
treed34c14b9d4859f15797e5ffcfb3bde4cce6a0108 /doc
parent1001cc108fec759b076c9f6e12b71dea5d49fe9b (diff)
downloadShaarli-6fa3c87d32dd16655ffb37865e1585b2b35154cd.tar.gz
Shaarli-6fa3c87d32dd16655ffb37865e1585b2b35154cd.tar.zst
Shaarli-6fa3c87d32dd16655ffb37865e1585b2b35154cd.zip
doc: simplify composer installation procedure
Diffstat (limited to 'doc')
-rw-r--r--doc/md/Unit-tests.md15
1 files changed, 3 insertions, 12 deletions
diff --git a/doc/md/Unit-tests.md b/doc/md/Unit-tests.md
index f6030d5c..74920ac1 100644
--- a/doc/md/Unit-tests.md
+++ b/doc/md/Unit-tests.md
@@ -6,24 +6,15 @@ The framework used is [PHPUnit](https://phpunit.de/); it can be installed with [
6 6
7You can either use: 7You can either use:
8 8
9- a system-wide version, e.g. installed through your distro's package manager 9- a system-wide version, e.g. installed through your distro's package manager (eg. `sudo apt install composer`)
10- a local version, downloadable [here](https://getcomposer.org/download/). 10- a local version, downloadable [here](https://getcomposer.org/download/). To update a local composer installation, run `php composer.phar self-update`
11 11
12```bash
13# system-wide version
14$ composer install
15$ composer update
16
17# local version
18$ php composer.phar self-update
19$ php composer.phar install
20$ php composer.phar update
21```
22 12
23#### Install Shaarli dev dependencies 13#### Install Shaarli dev dependencies
24 14
25```bash 15```bash
26$ cd /path/to/shaarli 16$ cd /path/to/shaarli
17$ composer install
27$ composer update 18$ composer update
28``` 19```
29 20