<commit_before># T(ech)R(etreat)anque

An online AI game using RTanque

## Running
### OS X Setup
- Any version of ruby from 2.0 up should be fine, tested with version 2.0 system ruby and version 2.2.2 from rvm
- Install redis `brew install redis`

### Windows Setup
- Install ruby 2.2.2 and the DevKit from [RubyInstaller](http://rubyinstaller.org/downloads/)
- Install redis from [MSOpenTech](https://github.com/MSOpenTech/redis)

### Next steps
- install dependencies with `bundle install`
- setup the database with `rake db:create` and `rake db:migrate`
- on *nix, run `rake server` to start everything, or manually:
  - run redis `redis-server`
  - run the server with `rails c`
  - run resque with `QUEUE=* rake environment resque:work`
- run `rake stop` to kill background Rails or Redis processes left running
<commit_msg>Add postgres installation note<commit_after># T(ech)R(etreat)anque

An online AI game using RTanque

## Running
### OS X Setup
- Any version of ruby from 2.0 up should be fine, tested with version 2.0 system ruby and version 2.2.2 from rvm
- Install redis `brew install redis`
- Install postgres `brew install postgres`

### Windows Setup
- Install ruby 2.2.2 and the DevKit from [RubyInstaller](http://rubyinstaller.org/downloads/)
- Install redis from [MSOpenTech](https://github.com/MSOpenTech/redis)

### Next steps
- install dependencies with `bundle install`
- setup the database with `rake db:create` and `rake db:migrate`
- on *nix, run `rake server` to start everything, or manually:
  - run redis `redis-server`
  - run the server with `rails c`
  - run resque with `QUEUE=* rake environment resque:work`
- run `rake stop` to kill background Rails or Redis processes left running

{'fraction_non_alphanumeric': 0.10058139534883721, 'fraction_numerical': 0.011627906976744186, 'mean_word_length': 4.231003039513678, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2784408', 'n_tokens_mistral': 556, 'n_tokens_neox': 527, 'n_words': 220}