<commit_before>[![Build Status](https://travis-ci.org/CVBDL/EagleEye-Platform.svg?branch=master)](https://travis-ci.org/CVBDL/EagleEye-Platform) [![Coverage Status](https://coveralls.io/repos/github/CVBDL/EagleEye-Platform/badge.svg)](https://coveralls.io/github/CVBDL/EagleEye-Platform)

# EagleEye Platform

[![Join the chat at https://gitter.im/CVBDL](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/CVBDL)


## Install required softwares


### Windows

* Install Git (https://git-scm.com/download/win)
* Install Node.js (https://nodejs.org/dist/v4.4.5/node-v4.4.5-x64.msi)
* Install MongoDB (https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.2.7-signed.msi)

Create a new folder in `C:\`:

```text
C:\data\db\
```

> Note: You may need to add MongoDB path to system environment variables: `C:\Program Files\MongoDB\Server\3.2\bin`


### MacOS

* Install Homebrew (http://brew.sh)

```sh
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```

* Update Homebrew's package database.

```sh
brew update
```

* Install Node.js v4.4.5 LTS

```sh
brew install homebrew/versions/node4-lts
```

* Install MongoDB with TLS/SSL support

```sh
brew install mongodb --with-openssl
```


## Install application Node.js packages

```sh
npm install
npm install gulp-cli -g
```


## Running the application

```sh
npm run start-mongodb
npm start
```

<commit_msg>edit readme<commit_after>[![Build Status](https://travis-ci.org/CVBDL/EagleEye-Platform.svg?branch=master)](https://travis-ci.org/CVBDL/EagleEye-Platform) [![Coverage Status](https://coveralls.io/repos/github/CVBDL/EagleEye-Platform/badge.svg)](https://coveralls.io/github/CVBDL/EagleEye-Platform)

# EagleEye Platform

[![Join the chat at https://gitter.im/CVBDL](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/CVBDL)


## Install required softwares


### Windows

* Install Git (https://git-scm.com/download/win)
* Install Node.js (https://nodejs.org/dist/v4.4.5/node-v4.4.5-x64.msi)
* Install MongoDB (https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.2.7-signed.msi)

Create a new folder in `C:\`:

```text
C:\data\db\
```

> Note: You may need to add MongoDB path to system environment variables: `C:\Program Files\MongoDB\Server\3.2\bin`


### MacOS

* Install Homebrew (http://brew.sh)

```sh
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```

* Update Homebrew's package database.

```sh
brew update
```

* Install Node.js v4.4.5 LTS

```sh
brew install homebrew/versions/node4-lts
```

* Install MongoDB with TLS/SSL support

```sh
brew install mongodb --with-openssl
```


## Install application Node.js packages

```sh
npm install
npm install gulp-cli istanbul -g
```


## Running the application

```sh
npm run start-mongodb
npm start
```


{'fraction_non_alphanumeric': 0.17706517950505402, 'fraction_numerical': 0.021610317183687697, 'mean_word_length': 4.26605504587156, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 22, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3761297', 'n_tokens_mistral': 1166, 'n_tokens_neox': 1052, 'n_words': 204}