<commit_before># Team Horizon website

A simple [Flask](http://flask.pocoo.org/) based web app.

## Requirements

 * Python 3.4+
 * Flask 0.11
 * Node.JS runtime and Grunt CLI (for building static files)
 
## Installation

Install Python packages:

    $ pip install -r requirements.txt
    
Install front-end dependencies:

    $ npm install .
    
Build static files:
    
    ```sh
    # For development environment
    $ grunt
    
    # For production
    $ grunt production
    ```
    
## Configuration and running

Copy the example configuration file and edit the values within accordingly:

    $ cp hrz/conf.example.py hrz/conf.py && $EDITOR hrz/conf.py
    
Set the environment variable for the config file and run the server:

    $ export HRZ_CONFIG=conf.py; python hrz/hrz.py
    
For production mode, see [Deployment options](http://flask.pocoo.org/docs/0.11/deploying/#deployment).<commit_msg>Fix markdown bug.<commit_after># Team Horizon website

A simple [Flask](http://flask.pocoo.org/) based web app.

## Requirements

 * Python 3.4+
 * Flask 0.11
 * Node.JS runtime and Grunt CLI (for building static files)
 
## Installation

Install Python packages:

    $ pip install -r requirements.txt
    
Install front-end dependencies:

    $ npm install .
    
Build static files:
    
    # For development environment
    $ grunt
    
    # For production
    $ grunt production
    
## Configuration and running

Copy the example configuration file and edit the values within accordingly:

    $ cp hrz/conf.example.py hrz/conf.py && $EDITOR hrz/conf.py
    
Set the environment variable for the config file and run the server:

    $ export HRZ_CONFIG=conf.py; python hrz/hrz.py
    
For production mode, see [Deployment options](http://flask.pocoo.org/docs/0.11/deploying/#deployment).
{'fraction_non_alphanumeric': 0.09146341463414634, 'fraction_numerical': 0.008869179600886918, 'mean_word_length': 3.011111111111111, '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': '273906', 'n_tokens_mistral': 563, 'n_tokens_neox': 532, 'n_words': 180}