<commit_before># Monitoring Traffic Office - Beritagar

### Version
0.1

### Tech

Dillinger uses a number of open source projects to work properly:

* [Twig](http://twig.sensiolabs.org) - HTML template for web apps!
* [nodeJS](http://nodejs.org) - socket I/O for the backend
* [PHP](http://php.net) - using Slim Framework
* [jQuery](https://jquery.com) - javascript library

And itself is open source with a [public repository](https://github.com/beritagarid/monitoring-traffic-office)
 on GitHub.


### Installation

You need Forever installed globally:

```sh
$ npm i -g forever
```
```sh
$ git clone https://github.com/beritagarid/monitoring-traffic-office
$ cd monitoring-traffic-office
$ composer install
```
### Configuration
Global configuration path : 
```sh
$ cp apps/config/config.sample.php apps/config/config.php
```
### Runnning 

Backend :

```sh
$  forever start -c php runner/server.php
```
Backend Node :

```sh
$  forever start socket/index.js
```

Front End :

```sh
$ php server.php
```<commit_msg>Seharusnya, penulisan tanda-tanda baca tersebut tidak diantarai spasi. <commit_after># Monitoring Traffic Office - Beritagar

### Version
0.1

### Tech

Dillinger uses a number of open source projects to work properly:

* [Twig](http://twig.sensiolabs.org) - HTML template for web apps!
* [nodeJS](http://nodejs.org) - socket I/O for the backend
* [PHP](http://php.net) - using Slim Framework
* [jQuery](https://jquery.com) - javascript library

And itself is open source with a [public repository](https://github.com/beritagarid/monitoring-traffic-office)
 on GitHub.


### Installation

You need Forever installed globally:

```sh
$ npm i -g forever
```
```sh
$ git clone https://github.com/beritagarid/monitoring-traffic-office
$ cd monitoring-traffic-office
$ composer install
```
### Configuration
Global configuration path:
```sh
$ cp apps/config/config.sample.php apps/config/config.php
```
### Runnning 

Backend:

```sh
$  forever start -c php runner/server.php
```
Backend Node:

```sh
$  forever start socket/index.js
```

Front End:

```sh
$ php server.php
```
{'fraction_non_alphanumeric': 0.14586322333811574, 'fraction_numerical': 0.001912960306073649, 'mean_word_length': 4.256281407035176, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '6997566', 'n_tokens_mistral': 733, 'n_tokens_neox': 675, 'n_words': 198}