Skip to content

Commit af3659a

Browse files
author
Hugo Osvaldo Barrera
committed
Update contributing instructions
1 parent 50eefa1 commit af3659a

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/contributing.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ virtualenv_ and run this inside of it::
8484
# - stylecheckers (flake8) and code formatters (autopep8)
8585
make install-dev
8686

87-
# Install git commit hook for the stylechecker
88-
make install-git-hooks
87+
# Install git commit hook for some extra linting and checking
88+
pre-commit install
8989

9090
# install test dependencies
9191
make install-test
@@ -100,9 +100,13 @@ The ``Makefile`` has a lot of options that allow you to control which tests are
100100
run, and which servers are tested. Take a look at its code where they are all
101101
initialized and documented.
102102

103-
For example, to test xandikos, run::
103+
For example, to test xandikos, first run the server itself::
104+
105+
docker-compose build xandikos
106+
docker-compose up -d xandikos
107+
108+
Then run the tests specifying this ``DAV_SERVER``, run::
104109

105-
make DAV_SERVER=xandikos install-test
106110
make DAV_SERVER=xandikos test
107111

108112
If you have any questions, feel free to open issues about it.

0 commit comments

Comments
 (0)