<commit_before>[<-- Back to main section](../README.md)

# Customizing

## Custom packages (`main` controller)

You can add custom shell commands in `docker/main/bin/customization.sh`


## Custom php.ini directives

Modify the `docker/main/conf/php.ini`, it will be added on top of the default php.ini so
you can overwrite any directives.

After modification rebuild your `main` container:

```bash
docker-compose stop
docker-compose build main
docker-compose up -d
```
<commit_msg>Fixed documentation<commit_after>[<-- Back to main section](../README.md)

# Customizing

## Custom packages (`main` controller)

You can add custom shell commands in `docker/main/{DISTRIBUTION}/bin/customization.sh`


## Custom php.ini directives

Modify the `docker/main/{DISTRIBUTION}/conf/php.ini`, it will be added on top of the default php.ini so
you can overwrite any directives.

After modification rebuild your `main` container:

```bash
docker-compose stop
docker-compose build main
docker-compose up -d
```

{'fraction_non_alphanumeric': 0.11, 'fraction_numerical': 0.0, 'mean_word_length': 4.561111111111111, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5687854', 'n_tokens_mistral': 324, 'n_tokens_neox': 291, 'n_words': 111}