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


.. note::

   Installing Mozillians might be daunting.  Ask for help in
   #commtools on irc.mozilla.org. Ping `giorgos`, `sancus` or `hoosteeno`, 
   they will be happy to help.


**Prerequisites:** You 'll need python 2, virtualenv and pip.  You'll also need
mysql-dev (or the equivalent on your system), and MySQL server.

You will probably also want a \*nix box; Mozillians.org is tricky to install on Windows.

When you want to start contributing...

#.  `Fork the main Mozillians repository`_ (https://github.com/mozilla/mozillians) on GitHub.

#.  Clone your fork to your local machine::

       $ git clone --recursive <EMAIL>:YOUR_USERNAME/mozillians.git mozillians
       (lots of output - be patient...)
       $ cd mozillians

    .. note::

       Make sure you use ``--recursive`` when checking the repo out! If you
       didn't, you can load all the submodules with ``git submodule update --init
       --recursive``.

#. Create your python virtual environment::

     $ virtualenv --no-site-packages venv

#. Activate your python virtual environment::<commit_msg>Specify python 2.6 in install docs<commit_after>=======================
VirtualEnv Installation
=======================


.. note::

   Installing Mozillians might be daunting.  Ask for help in
   #commtools on irc.mozilla.org. Ping `giorgos`, `sancus` or `hoosteeno`, 
   they will be happy to help.


**Prerequisites:** You 'll need python 2.6, virtualenv and pip.  You'll also need
mysql-dev (or the equivalent on your system), and MySQL server.

You will probably also want a \*nix box; Mozillians.org is tricky to install on Windows.

When you want to start contributing...

#.  `Fork the main Mozillians repository`_ (https://github.com/mozilla/mozillians) on GitHub.

#.  Clone your fork to your local machine::

       $ git clone --recursive <EMAIL>:YOUR_USERNAME/mozillians.git mozillians
       (lots of output - be patient...)
       $ cd mozillians

    .. note::

       Make sure you use ``--recursive`` when checking the repo out! If you
       didn't, you can load all the submodules with ``git submodule update --init
       --recursive``.

#. Create your python virtual environment::

     $ virtualenv --no-site-packages venv

#. Activate your python virtual environment::
{'fraction_non_alphanumeric': 0.1329944938585345, 'fraction_numerical': 0.0021177467174925877, 'mean_word_length': 3.2635379061371843, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '5503382', 'n_tokens_mistral': 724, 'n_tokens_neox': 658, 'n_words': 276}