<commit_before>Projet de simplification des demandes à la MDPH
================================================


[![Build Status](https://circleci.com/gh/sgmap/mdph.svg?style=svg)](https://circleci.com/gh/sgmap/mdph)
[![Dependencies](https://david-dm.org/sgmap/mdph.svg)](https://david-dm.org/sgmap/mdph#info=dependencies&view=table)
[![Dev-dependencies](https://david-dm.org/sgmap/mdph/dev-status.svg)](https://david-dm.org/sgmap/mdph#info=devDependencies&view=table)

## Getting Started

### Prerequisites

- [Node.js and npm](https://nodejs.org/) Node ^4.2.3, npm ^2.14.7
- [Ruby](https://www.ruby-lang.org) and then `gem install sass` for [Sass](http://sass-lang.com/)
- [MongoDB](https://www.mongodb.org/) - Keep a running daemon with `mongod`

### Developing

1. Run `npm install` to install server dependencies.

2. Run `mongod` in a separate shell to keep an instance of the MongoDB Daemon running

3. Run `npm run dev` to start the development server. It should automatically open the client in your browser when ready.

## Testing

- `npm run test` will run the tests with karma and mocha.
  - (you can also add `-front` or `-back` to run either front or back tests).

- `npm run coverage` will run the test coverage
  - (you can also add `-front` or `-back` to run either front or back coverage).

## Production

Use `npm start` to build the application and run it in production mode.<commit_msg>change readme<commit_after>Projet de simplification des demandes à la MDPH
================================================


[![Build Status](https://circleci.com/gh/sgmap/mdph.svg?style=svg)](https://circleci.com/gh/sgmap/mdph)
[![Dependencies](https://david-dm.org/sgmap/mdph.svg)](https://david-dm.org/sgmap/mdph#info=dependencies&view=table)
[![Dev-dependencies](https://david-dm.org/sgmap/mdph/dev-status.svg)](https://david-dm.org/sgmap/mdph#info=devDependencies&view=table)

## Getting Started

### Prerequisites

- [Node.js and npm](https://nodejs.org/) Node ^4.2.3, npm ^2.14.7
- [Ruby](https://www.ruby-lang.org) and then `gem install sass` for [Sass](http://sass-lang.com/)
- [MongoDB](https://www.mongodb.org/) - Keep a running daemon with `mongod`

### Developing

1. Run `npm install` to install server dependencies.

2. Run `mongod` in a separate shell to keep an instance of the MongoDB Daemon running

3. Run `npm run dev` to start the development server. It should automatically open the client in your browser when ready.

## Testing

- `npm run test` will run the tests with karma and mocha.
  - You can also add `-front` or `-back` to run either front or back tests.

- `npm run coverage` will run the test coverage
  - You can also add `-front` or `-back` to run either front or back coverage.

## Production

Use `npm start` to build the application and run it in production mode.
{'fraction_non_alphanumeric': 0.1728307254623044, 'fraction_numerical': 0.007112375533428165, 'mean_word_length': 4.307547169811321, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 18, 'lorem ipsum': 0, 'www.': 4, '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': '2155454', 'n_tokens_mistral': 948, 'n_tokens_neox': 897, 'n_words': 290}