<commit_before>Automated Install
=================

IRMA platform can be easily installed with a set of `ansible
<http://www.ansible.com>`_ roles and playbooks. It will help you to build,
install or maintain different setups.

Requirements
------------

- `Ansible <http://www.ansible.com>`_ 1.8 or higher;

Ansible scripts
---------------

Get IRMA ansible scripts on github:

.. code-block:: bash

	$ git clone https://github.com/quarkslab/irma-ansible

Install the dependencies via `Ansible Galaxy <https://galaxy.ansible.com/>`_
repository:

.. code-block:: bash

	$ ansible-galaxy install -r ansible-requirements.yml # eventually, add '--force' to overwrite installed roles

Predefined Environments
-----------------------

There are 3 different IRMA setups available:

.. toctree::

    testing-env.rst
    production-env.rst
    development-env.rst<commit_msg>Reference new variable for Debian Repo use only<commit_after>Automated Install
=================

IRMA platform can be easily installed with a set of `ansible
<http://www.ansible.com>`_ roles and playbooks. It will help you to build,
install or maintain different setups.

Requirements
------------

- `Ansible <http://www.ansible.com>`_ 1.8 or higher;

Ansible scripts
---------------

Get IRMA ansible scripts on github:

.. code-block:: bash

	$ git clone https://github.com/quarkslab/irma-ansible

Install the dependencies via `Ansible Galaxy <https://galaxy.ansible.com/>`_
repository:

.. code-block:: bash

	$ ansible-galaxy install -r ansible-requirements.yml # eventually, add '--force' to overwrite installed roles

Predefined Environments
-----------------------

There are 3 different IRMA setups available:

.. toctree::

    testing-env.rst
    production-env.rst
    development-env.rst


Using Debian repos
------------------

If you planned to use only Debian official repository, you'll need to change in
``playbooks/group_vars/all``:

.. code-block:: yaml

    default_use_debian_repo: yes # no is the default value
{'fraction_non_alphanumeric': 0.1629185407296352, 'fraction_numerical': 0.0029985007496251873, 'mean_word_length': 3.0526315789473686, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '4303433', 'n_tokens_mistral': 618, 'n_tokens_neox': 566, 'n_words': 195}