<commit_before>[![Build Status](https://travis-ci.org/Marri/glowfic.svg?branch=master)](https://travis-ci.org/Marri/glowfic) [![Test Coverage](https://codeclimate.com/github/Marri/glowfic/badges/coverage.svg)](https://codeclimate.com/github/Marri/glowfic/coverage)

## README

### Dependencies

*   [Ruby](https://www.ruby-lang.org/en/) 2.4.1
*   [Rails](http://rubyonrails.org/) 4.2.8
*   [Redis](https://redis.io/topics/quickstart)
*   [PostgreSQL](https://www.postgresql.org/) (guide to set this up [later](#setting-up-postgresql))

If you are not acquainted with Rails, it may help to go through the [Getting Started with Rails](http://guides.rubyonrails.org/v4.2/getting_started.html) tutorial for Rails 4.2.
If you wish to learn Ruby, try out the [quickstart](https://www.ruby-lang.org/en/documentation/quickstart/) guide provided on their website, or if you are already acquainted with various programming languages, try the [Learn X in Y minutes](https://learnxinyminutes.com/docs/ruby/) tutorial for Ruby.

This README mostly focuses on how to get started developing this project with Ubuntu – commands including `apt` or `apt-get` use the Debian/Ubuntu package manager.
If you are using another flavor of UNIX (another Linux, such as Arch Linux, or macOS), you may find that a lot of the commands are similar but specifics will likely vary – the links to the individual dependency manuals may help you in this case.

If you're using Windows, you may find your best bet – for a variety of reasons – is to set up a virtual machine running Ubuntu where you can do your development.
This is not completely trivial, but if you choose to do so it would be worth looking into [Oracle VirtualBox](https://www.virtualbox.org/).

It should be possible to develop this project otherwise on a Windows machine, but the steps to install all the dependencies on Windows are quite different, and a lot of the steps will differ from those listed here.

### Setup Process

#### Cloning the repository

*   Ensure you have Git installed:

    `sudo apt-get install git` on Ubuntu

    `sudo pacman -S git` on Arch Linux

*   Clone the repository
    *   Enter a folder you want to clone the code to:

        `cd ~/Documents`
<commit_msg>Amend README to reflect Rails 4.2.9 upgrade<commit_after>[![Build Status](https://travis-ci.org/Marri/glowfic.svg?branch=master)](https://travis-ci.org/Marri/glowfic) [![Test Coverage](https://codeclimate.com/github/Marri/glowfic/badges/coverage.svg)](https://codeclimate.com/github/Marri/glowfic/coverage)

## README

### Dependencies

*   [Ruby](https://www.ruby-lang.org/en/) 2.4.1
*   [Rails](http://rubyonrails.org/) 4.2.9
*   [Redis](https://redis.io/topics/quickstart)
*   [PostgreSQL](https://www.postgresql.org/) (guide to set this up [later](#setting-up-postgresql))

If you are not acquainted with Rails, it may help to go through the [Getting Started with Rails](http://guides.rubyonrails.org/v4.2/getting_started.html) tutorial for Rails 4.2.
If you wish to learn Ruby, try out the [quickstart](https://www.ruby-lang.org/en/documentation/quickstart/) guide provided on their website, or if you are already acquainted with various programming languages, try the [Learn X in Y minutes](https://learnxinyminutes.com/docs/ruby/) tutorial for Ruby.

This README mostly focuses on how to get started developing this project with Ubuntu – commands including `apt` or `apt-get` use the Debian/Ubuntu package manager.
If you are using another flavor of UNIX (another Linux, such as Arch Linux, or macOS), you may find that a lot of the commands are similar but specifics will likely vary – the links to the individual dependency manuals may help you in this case.

If you're using Windows, you may find your best bet – for a variety of reasons – is to set up a virtual machine running Ubuntu where you can do your development.
This is not completely trivial, but if you choose to do so it would be worth looking into [Oracle VirtualBox](https://www.virtualbox.org/).

It should be possible to develop this project otherwise on a Windows machine, but the steps to install all the dependencies on Windows are quite different, and a lot of the steps will differ from those listed here.

### Setup Process

#### Cloning the repository

*   Ensure you have Git installed:

    `sudo apt-get install git` on Ubuntu

    `sudo pacman -S git` on Arch Linux

*   Clone the repository
    *   Enter a folder you want to clone the code to:

        `cd ~/Documents`

{'fraction_non_alphanumeric': 0.09893048128342247, 'fraction_numerical': 0.005124777183600713, 'mean_word_length': 4.165707710011508, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 20, 'lorem ipsum': 0, 'www.': 8, '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': '994414', 'n_tokens_mistral': 1373, 'n_tokens_neox': 1282, 'n_words': 554}