<commit_before>#AWS ECR-ECS deployer

## Installation / running

To run the application, the aws credentials are needed to be set somehow. In local environment it can be done with [Absoliute this way link](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html). If it's run with docker, the aws environment variable must be set except for it's running on aws instances with the appropriate security settings.

### Local / development

Create a virtualenv and activate it (pyvenv .ve && . .ve/bin/activate)

```
pip3 install -r requirements.txt
```

Make sure the tests are succefully run

```
inv precommit
```

Run with dev config and debug mode

```
python3 serve.py -d -c config/dev.py<commit_msg>readme change<commit_after>#AWS ECR-ECS deployer

## Installation / running

To run the application, the aws credentials are needed to be set somehow. In local environment it can be done with [this way](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html). If it's run with docker, the aws environment variable must be set except for it's running on aws instances with the appropriate security settings.

### Local / development

Create a virtualenv and activate it (pyvenv .ve && . .ve/bin/activate)

```
pip3 install -r requirements.txt
```

Make sure the tests are succefully run

```
inv precommit
```

Run with dev config and debug mode

```
python3 serve.py -d -c config/dev.py
{'fraction_non_alphanumeric': 0.09490579204466155, 'fraction_numerical': 0.0027913468248429866, 'mean_word_length': 4.121428571428571, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '277232', 'n_tokens_mistral': 431, 'n_tokens_neox': 416, 'n_words': 178}