<commit_before>Installation
=======
To install the Open ERZ API locally, first clone the repository and install the dependencies, for that, you need to have the npm node packager manager installed: https://www.npmjs.org/.

```bash
git clone <EMAIL>:metaodi/openerz.git
cd openerz
npm install
```

Start the node server locally:
```bash
node index.js
```

Or use pm2:
```bash
pm2 start index.js
```

Then open http://localhost:8000/doc

Testing
=======

```bash
npm test
```<commit_msg>Update readme with vagrant and travis<commit_after>[![Build Status](https://travis-ci.org/metaodi/openerz.svg?branch=master)](https://travis-ci.org/metaodi/openerz)

Installation
============
To install the Open ERZ API locally, first clone the repository and install the dependencies, for that, you need to have the npm node packager manager installed: https://www.npmjs.org/.

```bash
git clone <EMAIL>:metaodi/openerz.git
cd openerz
npm install
```

Start the node server locally:
```bash
node index.js
```

Or use pm2:
```bash
pm2 start index.js
```

Then open http://localhost:8000/doc

Testing
=======

```bash
npm test
```

Development
===========

To setup the whole environment there is a vagrant box. All you have to do to run it is:

1. [Install Vagrant](https://www.vagrantup.com/)
2. Clone this repo
3. Run `vagrant up` on your command line
{'fraction_non_alphanumeric': 0.14275037369207771, 'fraction_numerical': 0.011210762331838564, 'mean_word_length': 4.673728813559322, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 5, 'lorem ipsum': 0, 'www.': 3, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '153254', 'n_tokens_mistral': 463, 'n_tokens_neox': 413, 'n_words': 160}