https://github.com/haiwen/seafdav
Seafile webdav server
https://github.com/haiwen/seafdav
Last synced: about 1 year ago
JSON representation
Seafile webdav server
- Host: GitHub
- URL: https://github.com/haiwen/seafdav
- Owner: haiwen
- License: other
- Created: 2014-05-17T02:00:35.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2025-03-26T03:28:07.000Z (about 1 year ago)
- Last Synced: 2025-03-29T12:02:25.679Z (about 1 year ago)
- Language: Python
- Size: 11.3 MB
- Stars: 87
- Watchers: 20
- Forks: 68
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: .github/SECURITY.md
Awesome Lists containing this project
- awesome-webdav - Seafile - A webdav server written in Python (Servers / Standalone)
README
# Seafile WebDAV Server [](http://travis-ci.org/haiwen/seafdav)
This is the WebDAV server for seafile.
See [Seafile Server Manual](http://manual.seafile.com/extension/webdav/) for details.
# Running
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 port 8080:
```
cp run.sh.template run.sh
```
- The [python-pam](https://github.com/FirefighterBlu3/python-pam) library is
needed as extra requirement if pam-login authentication is used on Linux
or OSX:
```
$ pip install wsgidav[pam]
$ wsgidav --host=0.0.0.0 --port=8080 --root=/tmp --auth=pam-login
```
Then change CCNET_CONF_DIR and SEAFILE_CONF_DIR to your Seafile server's settings.
# 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 seafdav server
- create a test user `test@example.com` with password `test`
- Run the tests
```
export CCNET_CONF_DIR=/path/to/ccnet
export SEAFILE_CONF_DIR=/path/to/seafile-data
./ci/functest.sh test
```