<commit_before># YunoHost installation script

## Context

The scripts in this repository will install [YunoHost](https://yunohost.org/) on a Debian system.

Only Debian 7 (aka wheezy) and 8 (aka jessie) are supported.

## Basic usage

Go into a temporary folder, e.g. ```/tmp```:

    $ cd /tmp

Get the install script:

    $ wget https://raw.githubusercontent.com/YunoHost/install_script/master/install_yunohostv2

Execute the script:

    $ bash install_yunohostv2

If something goes wrong, you can check the installation logs saved in ```/var/log/yunohost.log```

## Advanced usage

The script supports a number of positionnal arguments:

    $ bash install_yunohostv2 -h
    Usage :
      install_yunohostv2 [-a] [-d <DISTRIB>] [-h]

    Options :
      -a      Enable automatic mode. No questions are asked.
              This does not perform the post-install step.
      -d      Choose the distribution to install ('stable', 'testing', 'unstable').
              Defaults to 'stable'
      -h      Prints this help and exit

By specifying ```-a```, the installation will be performed without asking any question.
This is usefull for fully automated headless installation.
You will need to perform the post-installation later.

The ```-d <DISTRIB>``` switch is mostly for advanced users who wants to install the bleeding edge versions of YunoHost packages.<commit_msg>Fix readme wording and grammar<commit_after># YunoHost installation scripts

## Context

The scripts in this repository will install [YunoHost](https://yunohost.org/) on a Debian system.

Only Debian 7 (aka wheezy) and 8 (aka jessie) are supported.

## Basic usage

Go into a temporary folder, e.g. ```/tmp```:

    $ cd /tmp

Get the install script:

    $ wget https://raw.githubusercontent.com/YunoHost/install_script/master/install_yunohostv2

Execute the script:

    $ bash install_yunohostv2

If something goes wrong, you can check the installation logs saved in ```/var/log/yunohost.log```

## Advanced usage

The script supports a number of positional arguments:

    $ bash install_yunohostv2 -h
    Usage :
      install_yunohostv2 [-a] [-d <DISTRIB>] [-h]

    Options :
      -a      Enable automatic mode. No questions are asked.
              This does not perform the post-install step.
      -d      Choose the distribution to install ('stable', 'testing', 'unstable').
              Defaults to 'stable'
      -h      Prints this help and exit

By specifying ```-a```, the installation will be performed without asking any question.
This is useful for fully automated headless installations.
The [post-installation](https://yunohost.org/#/postinstall) will need to be performed later.

The ```-d <DISTRIB>``` switch is mostly for advanced users who want to install the bleeding edge versions of YunoHost packages.
{'fraction_non_alphanumeric': 0.08941930887068045, 'fraction_numerical': 0.004275026718916993, 'mean_word_length': 3.3067484662576687, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 5, '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': '1103751', 'n_tokens_mistral': 826, 'n_tokens_neox': 792, 'n_words': 331}