<commit_before># Meta Urf

Welcome to Meta Urf - a fully-functional Symfony2 application that allows
web users to test their knowledge of the League of Legends Meta in the
featured game mode Ultra Rapide Fire.

##Install

### Prerequisites
You downloaded the source and extracted it.
Your server is configured so that the `./web` of the project is accessible by a browser.

You need a database engine (mysql), with the rights to create a new database, or an empty database at your disposal.

### Composer
[Composer](https://getcomposer.org/) is required to build the project.


If you have curl :
```
curl -sS https://getcomposer.org/installer | php
```

Then, run composer install :
```
php composer.phar install
```

### Final steps

#### Assets
```
php app/console assets:install web --symlink && app/console assetic:dump
```

#### Cache and logs permissions
You will likely need to fix the `./app/cache` and `./app/logs` folders permissions.

#### Database
To initiate the database and its structure :
```
app/console doctrine:database:create
app/console doctrine:schema:create
```

#### Data
The `./app/config/config.yml` must be updated to include your Riot Games API Key.
<commit_msg>dowdow "key" parameter : in parameters.yml.dist<commit_after># Meta Urf

Welcome to Meta Urf - a fully-functional Symfony2 application that allows
web users to test their knowledge of the League of Legends Meta in the
featured game mode Ultra Rapide Fire.

##Install

### Prerequisites
You downloaded the source and extracted it.
Your server is configured so that the `./web` of the project is accessible by a browser.

You need a database engine (mysql), with the rights to create a new database, or an empty database at your disposal.

### Composer
[Composer](https://getcomposer.org/) is required to build the project.


If you have curl :
```
curl -sS https://getcomposer.org/installer | php
```

Then, run composer install :
```
php composer.phar install
```

### Final steps

#### Assets
```
php app/console assets:install web --symlink && app/console assetic:dump
```

#### Cache and logs permissions
You will likely need to fix the `./app/cache` and `./app/logs` folders permissions.

#### Database
To initiate the database and its structure :
```
app/console doctrine:database:create
app/console doctrine:schema:create
```

#### Data
The `./app/config/config.yml` must be updated to include your Riot Games API Key.
> This parameter was moved to `./app/config/parameters.yml` (created once you performed the `php composer.phar install` command.

{'fraction_non_alphanumeric': 0.10451866404715128, 'fraction_numerical': 0.0007858546168958742, 'mean_word_length': 4.293139293139293, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2508840', 'n_tokens_mistral': 738, 'n_tokens_neox': 695, 'n_words': 325}