<commit_before># WebAppTest

A modern version of WebpageTest.<commit_msg>added some setup info to the README<commit_after># WebAppTest

A modern version of WebpageTest.

For detailed information [check out the Wiki!](https://github.com/jameshopkins/webapptest/wiki)

## Quick start guide

### Running locally

1. [Download and install Docker](https://docs.docker.com/engine/installation/)
2. `$ cd webapptest`
3. `$ docker-compose build` to build and tag the container.
4. `$ docker-compose up` builds, (re)creates, starts, and attaches to containers for a service.
5. `$ docker ps` to list all running containers.
6. Copy the "CONTAINER ID" value for `webapptest_app`.
7. Connect to the container by running `$ docker exec -it <CONTAINER ID> bash`.
8. Once you are connected to the container, run `node out/bundle.js` to start the app.

After running these steps you will be able to open the app in the browser on
`http://localhost:<PORT>` where "PORT" is the value specified by the app's output
{'fraction_non_alphanumeric': 0.09839357429718876, 'fraction_numerical': 0.008032128514056224, 'mean_word_length': 4.478021978021978, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1285364', 'n_tokens_mistral': 309, 'n_tokens_neox': 293, 'n_words': 132}