<commit_before># Transition

Rails app for managing the transition of websites to GOV.UK. Specifically, it's for the production of and handling
of mappings for use with [Bouncer](https://github.com/alphagov/bouncer).

## Dependencies

* Redis
* PostgreSQL 9.3+ (the app uses materialized views, which were introduced in 9.3)
    * To get PostgreSQL 9.3 in the development VM, build a new one on Trusty with
`govuk_dev_dist=trusty vagrant up`.

## Running the app

The web application itself is run like any other Rails app, for example:

```sh<commit_msg>The dev VM is Trusty by default now, so no need for `govuk_dev_dist`<commit_after># Transition

Rails app for managing the transition of websites to GOV.UK. Specifically, it's for the production of and handling
of mappings for use with [Bouncer](https://github.com/alphagov/bouncer).

## Dependencies

* Redis
* PostgreSQL 9.3+ (the app uses materialized views, which were introduced in 9.3).
  This is included in the Trusty dev VM, which is now the default.

## Running the app

The web application itself is run like any other Rails app, for example:

```sh
{'fraction_non_alphanumeric': 0.07623318385650224, 'fraction_numerical': 0.008968609865470852, 'mean_word_length': 4.391304347826087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5945610', 'n_tokens_mistral': 347, 'n_tokens_neox': 326, 'n_words': 156}