<commit_before>Installation
============


System Requirements
-------------------

* `Python 2, 2.6+ <https://www.python.org/>`_
    * If you don't currently have Python installed on your system, the `Python documentation <http://docs.python.org/2/>`_ contains installation instructions for all major operating systems.

* `MySQL <http://www.mysql.com/>`_
    * See the `MySQL documentation <http://dev.mysql.com/doc/refman/5.6/en/installing.html>`_ for installation instructions.

* `CherryPy <http://www.cherrypy.org/>`_
    * Easiest installed with `pip <https://pypi.python.org/pypi/pip>`_ (if needed, follow that link for installation instructions). Using pip, simply run ``pip install CherryPy`` or read the `CherryPy documentation <http://docs.cherrypy.org/en/latest/>`_ for more detailed instructions.

* `Mako Templates <http://www.makotemplates.org/>`_
    * Installation via pip: ``pip install Mako``

* `SQLAlchemy <http://www.sqlalchemy.org/>`_
    * Installation via pip: ``pip install SQLAlchemy``


Installation & Configuration
----------------------------

To install Irads, simply extract the archive into a folder of your choice.

Configuration is done through the ``config.py`` file: simply open it in a text editor and add in the necessary information (MySQL database information and IP/port settings). Irads does not create the database for you so make sure it is already set up before launching.
<commit_msg>Added a missing prerequisite<commit_after>Installation
============


System Requirements
-------------------

* `Python 2, 2.6+ <https://www.python.org/>`_
    * If you don't currently have Python installed on your system, the `Python documentation <http://docs.python.org/2/>`_ contains installation instructions for all major operating systems.

* `MySQL <http://www.mysql.com/>`_
    * See the `MySQL documentation <http://dev.mysql.com/doc/refman/5.6/en/installing.html>`_ for installation instructions.

* `CherryPy <http://www.cherrypy.org/>`_
    * Easiest installed with `pip <https://pypi.python.org/pypi/pip>`_ (if needed, follow that link for installation instructions). Using pip, simply run ``pip install CherryPy``

* `Mako Templates <http://www.makotemplates.org/>`_
    * Installation via pip: ``pip install Mako``

* `Pillow <http://python-imaging.github.io/>`_
    * Installation via pip: ``pip install Pillow``
    * Pillow also requires `libjpeg <http://libjpeg.sourceforge.net/>`_, see the `Pillow documentation <https://github.com/python-imaging/Pillow/blob/master/docs/installation.rst>`_ for more details on its prerequisites.

* `SQLAlchemy <http://www.sqlalchemy.org/>`_
    * Installation via pip: ``pip install SQLAlchemy``


Installation & Configuration
----------------------------

To install Irads, simply extract the archive into a folder of your choice.

Configuration is done through the ``config.py`` file: simply open it in a text editor and add in the necessary information (MySQL database information and IP/port settings). Irads does not create the database for you so make sure it is already set up before launching.

{'fraction_non_alphanumeric': 0.14881915237787124, 'fraction_numerical': 0.0038822387576835974, 'mean_word_length': 3.7350689127105667, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 5, 'lorem ipsum': 0, 'www.': 10, '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': '6090878', 'n_tokens_mistral': 923, 'n_tokens_neox': 857, 'n_words': 311}