<commit_before># GOV.UK Rails Application Template

A template for building a skeleton Rails 4 application ready for use on the
GOV.UK stack.

## Usage

There are four templates available, one for each category of application on GOV.UK.

Generally they can be invoked by updating your `rails` gem, switching into your
GOV.UK code directory (`/var/govuk` on the VM) and running:

```shell
./govuk-rails-app-template/bin/install.sh app-name (api|frontend|admin|publishing)
```

You may find that the version of Rails you have doesn't match the one being generated for the app,
in which case you should either install the matching version or update `templates/Gemfile`
to the correct version.
<commit_msg>Update Rails version in README<commit_after># GOV.UK Rails Application Template

A template for building a skeleton Rails 5 application ready for use on the
GOV.UK stack.

## Usage

There are four templates available, one for each category of application on GOV.UK.

Generally they can be invoked by updating your `rails` gem, switching into your
GOV.UK code directory (`/var/govuk` on the VM) and running:

```shell
./govuk-rails-app-template/bin/install.sh app-name (api|frontend|admin|publishing)
```

You may find that the version of Rails you have doesn't match the one being generated for the app,
in which case you should either install the matching version or update `templates/Gemfile`
to the correct version.

{'fraction_non_alphanumeric': 0.06896551724137931, 'fraction_numerical': 0.0014074595355383533, 'mean_word_length': 4.620553359683795, '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': '2155695', 'n_tokens_mistral': 409, 'n_tokens_neox': 381, 'n_words': 198}