<commit_before># I'm watching You
[![Build Status](https://travis-ci.org/basti1dr/imwatchingyou.svg?branch=master)](https://travis-ci.org/basti1dr/imwatchingyou)[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/basti1dr/imwatchingyou/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/basti1dr/imwatchingyou/?branch=master)
[![Dependency Status](https://gemnasium.com/basti1dr/imwatchingyou.svg)](https://gemnasium.com/basti1dr/imwatchingyou)
[![Code Climate](https://codeclimate.com/github/basti1dr/imwatchingyou/badges/gpa.svg)](https://codeclimate.com/github/basti1dr/imwatchingyou)


## Install
### Vagrant
You can build a virtual machine which will contain all required dependencies to ease development on your machine. You'll
need:
- [virtualbox](https://www.virtualbox.org/wiki/Downloads)
- [vagrant](http://www.vagrantup.com/downloads.html)

Then, you will just have to type `vagrant up` to install and initialize the machine the subsequent times.
You can also access the machine by typing `vagrant ssh` if you need an access to the generated virtual machine.

NB : The `Vagrantfile` is based on the official [jessie debian box](https://atlas.hashicorp.com/debian/boxes/jessie64).
It will load the configuration which can be found in `vagrantfiles/config.yaml`. Note that the application can be accessible over
`192.168.12.34:3030` by default.

### Gems
```bash
bundle install
```

### Node modules
```bash
npm install
```

## Configuration
Copy ```config.sample.yml``` as ```config.yml``` and fill the sections you want to use in dashboard

## Usage
```bash
bundle exec dashing start
```

## Code styling checkers
### Check syntax JS
GULP is using for check syntax of all files (some files are ignored by filesJSToIgnore variable)

```bash
node_modules/gulp/bin/gulp.js
```
One file :

```bash
node_modules/gulp/bin/gulp.js --js path_to_file
```

### Check syntax ruby
```bash
bundle exec rubocop
```
<commit_msg>refactor(badge): update gemnasium badge remove code climate<commit_after># I'm watching You
[![Build Status](https://travis-ci.org/basti1dr/imwatchingyou.svg?branch=master)](https://travis-ci.org/basti1dr/imwatchingyou)[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/basti1dr/imwatchingyou/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/basti1dr/imwatchingyou/?branch=master)
[![Dependency Status](https://gemnasium.com/bdronneau/imwatchingyou.svg)](https://gemnasium.com/bdronneau/imwatchingyou)

## Install
### Vagrant
You can build a virtual machine which will contain all required dependencies to ease development on your machine. You'll
need:
- [virtualbox](https://www.virtualbox.org/wiki/Downloads)
- [vagrant](http://www.vagrantup.com/downloads.html)

Then, you will just have to type `vagrant up` to install and initialize the machine the subsequent times.
You can also access the machine by typing `vagrant ssh` if you need an access to the generated virtual machine.

NB : The `Vagrantfile` is based on the official [jessie debian box](https://atlas.hashicorp.com/debian/boxes/jessie64).
It will load the configuration which can be found in `vagrantfiles/config.yaml`. Note that the application can be accessible over
`192.168.12.34:3030` by default.

### Gems
```bash
bundle install
```

### Node modules
```bash
npm install
```

## Configuration
Copy ```config.sample.yml``` as ```config.yml``` and fill the sections you want to use in dashboard

## Usage
```bash
bundle exec dashing start
```

## Code styling checkers
### Check syntax JS
GULP is using for check syntax of all files (some files are ignored by filesJSToIgnore variable)

```bash
node_modules/gulp/bin/gulp.js
```
One file :

```bash
node_modules/gulp/bin/gulp.js --js path_to_file
```

### Check syntax ruby
```bash
bundle exec rubocop
```

{'fraction_non_alphanumeric': 0.13212025316455697, 'fraction_numerical': 0.011603375527426161, 'mean_word_length': 5.269421487603306, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 18, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5656615', 'n_tokens_mistral': 1308, 'n_tokens_neox': 1221, 'n_words': 352}