<commit_before>academicbrother2
================

1) Installation
---------------

1. Clone the repository:

        git clone https://github.com/aursulis/academicbrother2.git

2. Install Composer:

        cd academicbrother2
        curl -sS https://getcomposer.org/installer | php

3. Fetch required vendor dependencies and configure Symfony:

        php composer.phar install

4. Check your PHP configuration with:

        php app/check.php

5. To get rid of all warnings, on Debian Wheezy, I:

    5.1. upgraded to PHP 5.5 via <http://dotdeb.org>
    
    5.2. installed `php5-mysql`, `php5-intl`
    
    5.3. set the `date.timezone` setting in `/etc/php5/{apache2,cli}/php.ini`, in my case to `Europe/Vilnius`


2) Try it out!
--------------

To launch a development server, do:

    php app/console server:run

The server will be accessible through <http://localhost:8000/app_dev.php>.<commit_msg>Added instructions for MySQL database setup<commit_after>academicbrother2
================

1) Installation
---------------

1. Clone the repository:

        $ git clone https://github.com/aursulis/academicbrother2.git

2. Install Composer:

        $ cd academicbrother2
        $ curl -sS https://getcomposer.org/installer | php

3. Create a database and user to use with Symfony:

        $ mysql -u root -p
        Enter password:
        
        mysql> create database academicbrother2;
        mysql> create user 'symfony'@'localhost' identified by 'notsosecret';
        mysql> grant all privileges on academicbrother2.* to 'symfony'@'localhost';

4. Fetch required vendor dependencies and configure Symfony:

        $ php composer.phar install

5. Check your PHP configuration with:

        $ php app/check.php

6. To get rid of all warnings, on Debian Wheezy, I:

    5.1. upgraded to PHP 5.5 via <http://dotdeb.org>
    
    5.2. installed `php5-mysql`, `php5-intl`
    
    5.3. set the `date.timezone` setting in `/etc/php5/{apache2,cli}/php.ini`, in my case to `Europe/Vilnius`

2) Try it out!
--------------

To launch a development server, do:

    $ php app/console server:run

The server will be accessible through <http://localhost:8000/app_dev.php>.
{'fraction_non_alphanumeric': 0.13400642496558055, 'fraction_numerical': 0.025240936209270308, 'mean_word_length': 2.6212624584717608, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 10, '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': '583130', 'n_tokens_mistral': 710, 'n_tokens_neox': 663, 'n_words': 223}