<commit_before># Install instructions

## Run with Docker (simple)

Docker makes it easy and safe to install and start the two servers required for Openwhyd: the MongoDB database server, and the web/application server (formerly called _whydJS_).

### Prerequisites

All you need is:

- access to the shell (a.k.a. _terminal_);
- to have [Docker](https://www.docker.com/products/docker-desktop);
- and to have [Git](https://www.atlassian.com/git/tutorials/install-git) installed on your machine.

### Clone and run

Commands to type in your shell:
<commit_msg>docs: install instruction for docker with windows home (#328)<commit_after># Install instructions

## Run with Docker (simple)

Docker makes it easy and safe to install and start the two servers required for Openwhyd: the MongoDB database server, and the web/application server (formerly called _whydJS_).

### Prerequisites

All you need is:

- access to the shell (a.k.a. _terminal_);
- to have [Docker](https://www.docker.com/products/docker-desktop);
- and to have [Git](https://www.atlassian.com/git/tutorials/install-git) installed on your machine.

### Docker for Windows Home
Docker for Windows Home runs on a virtual box, so localhost may not work. For all the instructions below, if localhost is not working, replace it with your docker ip. You can find your docker ip with :
```sh
$ docker-machine ip                  
```
- in your web browser, http://localhost:8080 become http://your-docker-ip:8080
- replace localhost in the different scripts

### Clone and run

Commands to type in your shell:

{'fraction_non_alphanumeric': 0.09560229445506692, 'fraction_numerical': 0.007010834926704908, 'mean_word_length': 4.130718954248366, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '1724595', 'n_tokens_mistral': 477, 'n_tokens_neox': 436, 'n_words': 195}