Seafile webdav server
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests added functional tests Oct 10, 2014
wsgidav Handle importing error of Crypto. Dec 12, 2018
.gitignore fixed runfcgi command Sep 18, 2014
.project Initial commit. Jun 28, 2013
.pydevproject Initial commit. Jun 28, 2013
.travis.yml added functional tests Oct 10, 2014
LICENSE Add MIT license. Sep 9, 2016
Makefile update Makefile Apr 10, 2014
README.md
functests.sh added functional tests Oct 10, 2014
requirements.txt remove python-daemon from dependencies Jan 14, 2015
run-fcgi.sh.template Clean up run_server.py and add documentation about how to run. Jan 28, 2016
run.sh.template support new data-format Apr 3, 2014
seafdav.conf.template
test-requirements.txt update to use central config dir Oct 19, 2015

README.md

Seafile WebDAV Server Build Status

This is the WebDAV server for seafile.

See Seafile Server Manual for details.

Running

There are two templates for running seafdav:

  • run.sh.template: This is for running seafdav on the default 8080 port with a built-in CherryPy server.
  • run-fcgi.sh.template and seafdav.conf.template: These two files are for running seafdav on fastcgi mode.

To run on 8080 port:

cp run.sh.template run.sh

Then change CCNET_CONF_DIR and SEAFILE_CONF_DIR to your Seafile server's settings.

To run fastcgi mode:

cp run-fcgi.sh.template run-fcgi.sh
cp seafdav.conf.template seafdav.conf

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@seafiltest.com with password testtest
  • Run the tests
export CCNET_CONF_DIR=/path/to/ccnet
export SEAFILE_CONF_DIR=/path/to/seafile-data
./functest.sh test