replace test domain by example.com (rfc2606), correct manual link, small grammar mistakes

This commit is contained in:
Robin Kloppe 2022-11-24 18:44:53 +01:00 committed by lian
parent 9c100e9a3f
commit 6dcc7920ca
3 changed files with 8 additions and 8 deletions

View file

@ -2,14 +2,14 @@
This is the WebDAV server for seafile.
See [Seafile Server Manual](http://manual.seafile.com/extension/webdav.html) for details.
See [Seafile Server Manual](http://manual.seafile.com/extension/webdav/) for details.
# Running
There are a template for running seafdav:
- run.sh.template: This is for running seafdav on the default 8080 port with a built-in CherryPy server.
There is a template for running seafdav:
- run.sh.template: This is for running seafdav on the default port 8080 with a built-in CherryPy server.
To run on 8080 port:
To run on port 8080:
```
cp run.sh.template run.sh
@ -27,9 +27,9 @@ Then change CCNET_CONF_DIR and SEAFILE_CONF_DIR to your Seafile server's setting
# Testing
- start local seafile server
- start local seahub server (While seafdav itself doesn't require seahub, we use seahub webapi as a driver for testing)
- start local seahub server (while seafdav itself doesn't require seahub, we use seahub webapi as a driver for testing)
- start seafdav server
- create a test user `test@seafiletest.com` with password `test`
- create a test user `test@example.com` with password `test`
- Run the tests
```
export CCNET_CONF_DIR=/path/to/ccnet

View file

@ -50,7 +50,7 @@ EOF
/tmp/seafile-server/tests/conf/seafile-data
EOF
start_server
python -c "from seaserv import ccnet_api as api;api.add_emailuser('test@seafiletest.com','test',0,1)"
python -c "from seaserv import ccnet_api as api;api.add_emailuser('test@example.com','test',0,1)"
}
function start_seafdav() {

View file

@ -6,7 +6,7 @@ import io
import posixpath
from seaserv import seafile_api
USER = os.environ.get('SEAFILE_TEST_USERNAME', 'test@seafiletest.com')
USER = os.environ.get('SEAFILE_TEST_USERNAME', 'test@example.com')
PASSWORD = os.environ.get('SEAFILE_TEST_PASSWORD', 'test')
def get_webapi_client():