1 | # Contributing
|
2 |
|
3 | Please, have a look at the [wiki](https://framagit.org/framasoft/ep_mypads/wikis/home).
|
4 |
|
5 | ## Tests
|
6 |
|
7 | Tests can be launched with `npm run test`.
|
8 |
|
9 | ## LDAP tests
|
10 |
|
11 | LDAP tests an be launched with `npm run test-ldap`.
|
12 |
|
13 | You will need to have the [mockup LDAP server](https://github.com/rroemhild/docker-test-openldap) launched on your computer to run the LDAP tests:
|
14 |
|
15 | The first time you start the container:
|
16 |
|
17 | ```
|
18 | docker run --privileged -d -p 389:389 rroemhild/test-openldap --name test-openldap
|
19 | ```
|
20 |
|
21 | After the first start of the container, you will be able to start it with:
|
22 |
|
23 | ```
|
24 | docker start test-openldap
|
25 | ```
|