<commit_before># YesWiki installation
Not much to it (as long as it works, ahem). Unpack/upload the distribution files
into a directory that can be accessed via the web. Then go to the corresponding URL.  
A web-based installer will walk you through the rest.

#### Example:
If your website, say, http://www.mysite.com, is mapped to the directory /home/jdoe/www/,
and you place the YesWiki distribution files into /home/jdoe/www/wiki/, you should go to
http://www.mysite.com/wiki/.  

IMPORTANT: for installing or upgrading YesWiki, do NOT access any of the files contained
in the setup/ subdirectory. They're used by the web-based installer/updater, but you
should really just access the YesWiki directory itself, and it will (or at least should)
work perfectly.

Detailed instructions are available at http://yeswiki.net/wakka.php?wiki=DocumentationInstallation (in French).

## Installation through Docker

It is possible to install YesWiki in local through Docker.

First you need to install docker and docker-compose: https://docs.docker.com/install

A `docker-compose.yml` file can be found at the root of the YesWiki repository.
If you do `docker-compose up`, 3 Docker containers will be launched:

- yeswiki: Apache/PHP server with the YesWiki code
- db: the MySQL database
- myadmin: phpMyAdmin to see/modify the database

Then go to http://localhost:81. In the setup, you will need to use these informations for the MySQL serveur:

- Host ("Machine MySQL"): db
- Port: 3306
- Login: root
- Password: <PASSWORD>

You can see/modify the created tables by going to: http://localhost:8080
<commit_msg>doc(INSTALL.md): put information about composer.md<commit_after># YesWiki installation
Not much to it (as long as it works, ahem). Unpack/upload the distribution files
into a directory that can be accessed via the web. Then go to the corresponding URL.  
A web-based installer will walk you through the rest.

**Important**: If copied from Github repository, YesWiki needs to work some files 
installed via `composer`. So after downloading/synchroning files on your server, 
start the comment `composer install`.
_You can find information about installation of `composer` at the following link_:
https://getcomposer.org/

#### Example:
If your website, say, http://www.mysite.com, is mapped to the directory /home/jdoe/www/,
and you place the YesWiki distribution files into /home/jdoe/www/wiki/, you should go to
http://www.mysite.com/wiki/.  

IMPORTANT: for installing or upgrading YesWiki, do NOT access any of the files contained
in the setup/ subdirectory. They're used by the web-based installer/updater, but you
should really just access the YesWiki directory itself, and it will (or at least should)
work perfectly.

Detailed instructions are available at http://yeswiki.net/wakka.php?wiki=DocumentationInstallation (in French).

## Installation through Docker

It is possible to install YesWiki in local through Docker.

First you need to install docker and docker-compose: https://docs.docker.com/install

A `docker-compose.yml` file can be found at the root of the YesWiki repository.
If you do `docker-compose up`, 3 Docker containers will be launched:

- yeswiki: Apache/PHP server with the YesWiki code
- db: the MySQL database
- myadmin: phpMyAdmin to see/modify the database

Then go to http://localhost:81. In the setup, you will need to use these informations for the MySQL serveur:

- Host ("Machine MySQL"): db
- Port: 3306
- Login: root
- Password: <PASSWORD>

You can see/modify the created tables by going to: http://localhost:8080

{'fraction_non_alphanumeric': 0.07718214987370194, 'fraction_numerical': 0.006174571989896155, 'mean_word_length': 4.311475409836065, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 8, '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': '161711', 'n_tokens_mistral': 1042, 'n_tokens_neox': 987, 'n_words': 484}