<commit_before>NMIS Project v0.5
=================

Installation
------------
1. Install virtualenv, and mongodb if needed

    $ sudo apt-get install python-virtualenv mongodb

2. Create a virtual environment

    $ virtualenv --no-site-packages nmis_env

3. Activate the virtual environment

    $ source nmis_env/bin/activate

4. Clone this git repository

    $ git clone https://amarder@github.com/mvpdev/nmis.git

5. Before installing fabric I had to install header files for Python:

    $ sudo apt-get install python-dev

6. Install all the requirements including fabric

    $ pip install -r requirements.txt

7. Copy example settings and edit them appropriately

    $ cp custom_settings_example.py custom_settings.py<commit_msg>Added instruction for cloning XForm Manager. This instructions could be a lot clearer.<commit_after>NMIS Project v0.5
=================

Installation
------------
1. Install virtualenv, and mongodb if needed

    $ sudo apt-get install python-virtualenv mongodb

2. Create a virtual environment

    $ virtualenv --no-site-packages nmis_env

3. Activate the virtual environment

    $ source nmis_env/bin/activate

4. Clone this git repository

    $ git clone https://github.com/mvpdev/nmis.git

5. Before installing fabric I had to install header files for Python:

    $ sudo apt-get install python-dev

6. Install all the requirements including fabric

    $ pip install -r requirements.txt

7. Copy example settings and edit them appropriately

    $ cp custom_settings_example.py custom_settings.py

8. Clone the XForm Manager inside this Django project:

    $ git clone https://github.com/mvpdev/xform_manager.git
{'fraction_non_alphanumeric': 0.09216867469879518, 'fraction_numerical': 0.01144578313253012, 'mean_word_length': 3.429333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '7092227', 'n_tokens_mistral': 478, 'n_tokens_neox': 444, 'n_words': 177}