<commit_before>

Detailed Installation
===
These steps allow you to install and run outside outside of Docker. Step 5 describes the configuration options that
should be changed if you're using this for anything other than demo purposes.

1. Git clone the repository

    ```bash
    git clone https://github.com/digital-certificates/viewer.git
    ```

2. Install [mongodb](https://docs.mongodb.com/v3.0/installation/)

3. Set up a virtual environment [details](http://docs.python-guide.org/en/latest/dev/virtualenvs/) and run setup

    ```bash
    cd coins.media.mit.edu
    pip install .
    ```

4. Setup your conf.ini file (see 'Configuration')

5. Start mongo database. `--dbpath` can be left off if you used the default location

    ```shell
    mongod --dbpath <path to data directory>
    ```

6. Run the flask server

    ```shell
    python run.py
    ```

7. Open `http://localhost:5000`



<commit_msg>Update installation.md<commit_after>

Detailed Installation
===
These steps allow you to install and run outside outside of Docker. Step 5 describes the configuration options that
should be changed if you're using this for anything other than demo purposes.

1. Git clone the repository

    ```bash
    git clone https://github.com/digital-certificates/viewer.git
    ```

2. Install [mongodb](https://docs.mongodb.com/v3.0/installation/)

3. Set up a virtual environment [details](http://docs.python-guide.org/en/latest/dev/virtualenvs/) and run setup

    ```bash
    cd viewer
    pip install .
    ```

4. Setup your conf.ini file (see 'Configuration')

5. Start mongo database. `--dbpath` can be left off if you used the default location

    ```shell
    mongod --dbpath <path to data directory>
    ```

6. Run the flask server

    ```shell
    python run.py
    ```

7. Open `http://localhost:5000`




{'fraction_non_alphanumeric': 0.10940919037199125, 'fraction_numerical': 0.015317286652078774, 'mean_word_length': 3.119369369369369, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '6498066', 'n_tokens_mistral': 565, 'n_tokens_neox': 524, 'n_words': 205}