Skip to content
bodhiBit edited this page May 31, 2013 · 2 revisions

Installation

To use jsDAV you'll need a recent version of NodeJS. If you want to install jsDAV via the Node Package Manager (NPM), you will need to have that installed as well.

jsDAV has been tested with:

NodeJS stable versions >= 0.2.x and will follow to support the stable versions in the future

You can install jsDAV through NPM, or manually.

NPM installation

If you don't have a working NPM installation yet, head over the the NPM installation instructions.

If you have NPM up and running, install with the following command:

npm install jsDAV

Manual installation

You can also git clone the latest and greatest manually. If you don't have a working Git installation yet, head over the the Git installation instructions.

If you have Git up and running, clone the jsDAV repository with the following commands:

git clone http://github.com/mikedeboer/jsDAV.git

npm install

This will create a jsdav directory with all the required files. Likely the only directory you really need is the lib/ directory, which is where all the Javascript files are.

If you want to use jsDAV, just run node examples/fileserver.js and you're off.

Next steps

For more information on how to use jsDAV, head over to the Getting Started page.

Based on the original document at http://code.google.com/p/sabredav/wiki/Installation

Clone this wiki locally