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

First, set up your virtual environment and pip install Socrates.

.. code-block:: console

    virtualenv env --no-site-packages
    source env/bin/activate
    pip install -e git://github.com/honza/socrates.git#egg=socrates

The next step is to install your templates. At the moment, you can choose
between `Django templates`_ and `Jinja2 templates`_. The default theme uses
Django.

.. code-block:: console

    pip install django
    pip install jinja2

If you're going to use a processor other than Markdown, you have to install
that, too.

textile

.. code-block:: console
<commit_msg>Update docs. Add notes about install from pypi.<commit_after>Installation
============

First, set up your virtual environment and pip install Socrates.

.. code-block:: console

    virtualenv env --no-site-packages
    source env/bin/activate
    pip install socrates

Or, get the latest code from Github:

.. code-block:: console

    pip install -e git://github.com/honza/socrates.git#egg=socrates

The next step is to install your templates. At the moment, you can choose
between `Django templates`_ and `Jinja2 templates`_. The default theme uses
Django.

.. code-block:: console

    pip install django
    pip install jinja2

If you're going to use a processor other than Markdown, you have to install
that, too.

textile

.. code-block:: console

{'fraction_non_alphanumeric': 0.09300648882480173, 'fraction_numerical': 0.002883922134102379, 'mean_word_length': 3.611295681063123, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3670800', 'n_tokens_mistral': 412, 'n_tokens_neox': 387, 'n_words': 167}