<commit_before># Webapper

Webapper provides a webserver for testing purposes.


## TODO: create new apis

/metrics
/ping
/trace
/nslookup
/rabbitmq
/couchbase


## Docker Cluster

### Preparing the test plataform

Create two virtual machines with docker-machine  

```bash
docker-machine create --driver virtualbox --engine-label disk=ssd swarm1
docker-machine create --driver virtualbox --engine-label disk=hdd swarm2
```

Log in into the machine and initialize the swarm cluster

```
docker-machine ssh swarm1
docker swarm init --advertise-addr 192.168.99.100
```

Log in into the next node and join it to the swarm cluster

```bash
docker-machine ssh swarm2
docker swarm join \
    --token <KEY> \
    192.168.99.100:2377<commit_msg>readme: remove todo and whitespace<commit_after># Webapper

Webapper provides a webserver for testing purposes.

## Docker Cluster

### Preparing the test plataform

Create two virtual machines with docker-machine

```bash
docker-machine create --driver virtualbox --engine-label disk=ssd swarm1
docker-machine create --driver virtualbox --engine-label disk=hdd swarm2
```

Log in into the machine and initialize the swarm cluster

```
docker-machine ssh swarm1
docker swarm init --advertise-addr 192.168.99.100
```

Log in into the next node and join it to the swarm cluster

```bash
docker-machine ssh swarm2
docker swarm join \
    --token <KEY> \
    192.168.99.100:2377
{'fraction_non_alphanumeric': 0.0892983699503898, 'fraction_numerical': 0.042523033309709427, 'mean_word_length': 3.937062937062937, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '154441', 'n_tokens_mistral': 504, 'n_tokens_neox': 408, 'n_words': 167}