<commit_before># HPCloud WebDAV

A WebDAV library for connecting to HP Cloud services.

This library provides a general WebDAV implementation along with support
for connecting to HP Cloud.

## How It Works

HPCloud-WebDAV provides three things:

- A complete WebDAV library.
- A WebDAV server.
- An OpenStack Swift backend (and a file system backend for testing)

The library is built to make it easy to add a custom backend.

## Installation

Short version:

~~~
$ cd HPCloud-WebDAV
$ npm install
$ cp example.settings.json settings.json
$ edit settings.json
$ node server.js
~~~

Detailed version:

1. Clone the HPCloud-JS repository from GitHub Enterprise:
   `git clone https://git.hpcloud.net/butchema/HPCloud-JS`
2. Clone the HPCloud-WebDAV repository from GitHub Enterprise:
   `git clone https://git.hpcloud.net/butchema/HPCloud-WebDAV`
3. Install Node.JS. On Ubuntu Linux, you can install with:
   `sudo apt-get install nodejs`
4. Install NPM. On Ubuntu Linux, you can install with:
   `sudo apt-get install npm`
5. Install Memcached. On Ubuntu Linux you can install that with:
   `sudo apt-get install memcached` (Make sure memcached starts.)
6. At a commandline, change directories into the HPCloud-WebDAV
   directory: `cd HPCloud-WebDAV`
7. Using NPM, install HPCloud-JS as a node module:
   `npm install -f path/to/HPCloud-JS`
8. Now run `npm install`. This will install additional dependencies,
   including Pronto.js, a memcached client, and several supporting
   libraries.
9. Create a settings file. The easiest way to do this is:
   `cp example.settings.json settings.json && edit settings.json`
10. Start the WebDAV server: `node server.js`.

You will now have a sing WebDAV server. By default, it is listening on
`localhost:8000`, though you can change that in the settings.

You may now use any supported WebDAV client to connect to the service.
(see [doc/](doc/) for examples.)

## Pronto.js and HPCloud-WebDAV

Pronto is an application framework for Node.js. HPCloud-WebDAV is built
for that framework. It assumes the basic model, and is designed to make
it trivially easy to modify WebDAV behavior using the Pronto
configuration.
<commit_msg>Updated README with info about NPM change.<commit_after># HPCloud WebDAV

A WebDAV library for connecting to HP Cloud services.

This library provides a general WebDAV implementation along with support
for connecting to HP Cloud.

## How It Works

HPCloud-WebDAV provides three things:

- A complete WebDAV library.
- A WebDAV server.
- An OpenStack Swift backend (and a file system backend for testing)

The library is built to make it easy to add a custom backend.

## Installation

Short version:

~~~
$ cd HPCloud-WebDAV
$ cp example.settings.json settings.json
$ edit settings.json
$ node server.js
~~~

Detailed version:

1. Clone the HPCloud-JS repository from GitHub Enterprise:
   `git clone https://git.hpcloud.net/butchema/HPCloud-JS`
2. Clone the HPCloud-WebDAV repository from GitHub Enterprise:
   `git clone https://git.hpcloud.net/butchema/HPCloud-WebDAV`
3. Install Node.JS. On Ubuntu Linux, you can install with:
   `sudo apt-get install nodejs`
4. Install NPM. On Ubuntu Linux, you can install with:
   `sudo apt-get install npm`
5. Install Memcached. On Ubuntu Linux you can install that with:
   `sudo apt-get install memcached` (Make sure memcached starts.)
6. At a commandline, change directories into the HPCloud-WebDAV
   directory: `cd HPCloud-WebDAV`
7. NO LONGER NECESSARY. Using NPM, install HPCloud-JS as a node module:
   `npm install -f path/to/HPCloud-JS`
8. NO LONGER NECESSARY. Now run `npm install`. This will install additional dependencies,
   including Pronto.js, a memcached client, and several supporting
   libraries.
9. Create a settings file. The easiest way to do this is:
   `cp example.settings.json settings.json && edit settings.json`
10. Start the WebDAV server: `node server.js`.

You will now have a sing WebDAV server. By default, it is listening on
`localhost:8000`, though you can change that in the settings.

You may now use any supported WebDAV client to connect to the service.
(see [doc/](doc/) for examples.)

## Pronto.js and HPCloud-WebDAV

Pronto is an application framework for Node.js. HPCloud-WebDAV is built
for that framework. It assumes the basic model, and is designed to make
it trivially easy to modify WebDAV behavior using the Pronto
configuration.

{'fraction_non_alphanumeric': 0.07287633796401731, 'fraction_numerical': 0.006832156684126622, 'mean_word_length': 3.9965870307167237, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1930732', 'n_tokens_mistral': 1332, 'n_tokens_neox': 1274, 'n_words': 600}