<commit_before># silex-starter
Silex starter project.

## Composer

run `./composer.phar install` in the app root folder to install dependencies

## Database

### Migrations

Migrations are stored in the `src/Resource/Migration` folder. Run `./app/console` in the app root folder to view migration commands:

```Text
migrations
  migrations:diff      Generate a migration by comparing your current database to your mapping information.
  migrations:execute   Execute a single migration version up or down manually.
  migrations:generate  Generate a blank migration class.
  migrations:migrate   Execute a migration to a specified version or the latest available version.
  migrations:status    View the status of a set of migrations.
  migrations:version   Manually add and delete migration versions from the version table.
```

### Query Repositories<commit_msg>added config section to the readme<commit_after># silex-starter
Silex starter project.

## Composer

run `./composer.phar install` in the app root folder to install dependencies

## Configuration

Config files are located in `app/config`. Copy the `local-sample.yml` file and name it `local.yml` to override all other configuration files. If that does not exist, it will see if the environment variable `APPLICATION_ENV` is set and load a `<APPLICATION_ENV>.yml` file. If that doesn't exist, the `default.yml` will be loaded as a baseline.

## Database

### Migrations

Migrations are stored in the `src/Resource/Migration` folder. Run `./app/console` in the app root folder to view migration commands:

```Text
migrations
  migrations:diff      Generate a migration by comparing your current database to your mapping information.
  migrations:execute   Execute a single migration version up or down manually.
  migrations:generate  Generate a blank migration class.
  migrations:migrate   Execute a migration to a specified version or the latest available version.
  migrations:status    View the status of a set of migrations.
  migrations:version   Manually add and delete migration versions from the version table.
```

### Query Repositories
{'fraction_non_alphanumeric': 0.06116642958748222, 'fraction_numerical': 0.0, 'mean_word_length': 4.438144329896907, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '7070861', 'n_tokens_mistral': 535, 'n_tokens_neox': 547, 'n_words': 263}