<commit_before># seven

Course homework submission website.

[![Build Status](https://travis-ci.org/pwnall/seven.svg?branch=master)](https://travis-ci.org/pwnall/seven)


## Prerequisites

The site requires access to a [Docker](https://github.com/docker/docker)
daemon, a very recent Ruby and a few libraries.

Docker can only be installed directly on Linux, and is now packaged natively by
every major distribution. [docker-machine](https://github.com/docker/machine)
can be used to get access to a Docker daemon on other OSes.

The recommended way
to get Ruby set up is to get [rbenv](https://github.com/sstephenson/rbenv) and
[ruby-build](https://github.com/sstephenson/ruby-build).

The recommended way to get the libraries is your system's package manager, or
[Homebrew](http://brew.sh/) on Mac OS.

### Mac OS

The following [Homebrew](http://brew.sh) commands install the requirements on
OSX.

```bash
brew install docker docker-machine imagemagick pkg-config
brew install ansible --HEAD
brew install caskroom/cask/brew-cask
brew cask install vagrant virtualbox
docker-machine create --driver virtualbox dev

# The command below shows up when you run docker-machine env dev.
eval "$(docker-machine env dev)"
```


## Installation

Follow the standard steps for setting up a Rails development environment.

```bash
git clone
bundle install
rake db:create db:migrate
```

Due to [a nasty crash](https://github.com/cowboyd/therubyracer/issues/317), the<commit_msg>Updated Homebrew deps in README. [ci skip]<commit_after># seven

Course homework submission website.

[![Build Status](https://travis-ci.org/pwnall/seven.svg?branch=master)](https://travis-ci.org/pwnall/seven)


## Prerequisites

The site requires access to a [Docker](https://github.com/docker/docker)
daemon, a very recent Ruby and a few libraries.

Docker can only be installed directly on Linux, and is now packaged natively by
every major distribution. [docker-machine](https://github.com/docker/machine)
can be used to get access to a Docker daemon on other OSes.

The recommended way
to get Ruby set up is to get [rbenv](https://github.com/sstephenson/rbenv) and
[ruby-build](https://github.com/sstephenson/ruby-build).

The recommended way to get the libraries is your system's package manager, or
[Homebrew](http://brew.sh/) on Mac OS.

### Mac OS

The following [Homebrew](http://brew.sh) commands install the requirements on
OSX.

```bash
brew install docker docker-machine imagemagick libxml2 libxslt openssl \
    pkg-config postgresql
brew link --force openssl
brew install ansible --HEAD
brew install caskroom/cask/brew-cask
brew cask install vagrant virtualbox
docker-machine create --driver virtualbox dev

# The command below shows up when you run docker-machine env dev.
eval "$(docker-machine env dev)"
```


## Installation

Follow the standard steps for setting up a Rails development environment.

```bash
git clone
bundle install
rake db:create db:migrate
```

Due to [a nasty crash](https://github.com/cowboyd/therubyracer/issues/317), the
{'fraction_non_alphanumeric': 0.10422163588390501, 'fraction_numerical': 0.002308707124010554, 'mean_word_length': 4.6585820895522385, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '5334805', 'n_tokens_mistral': 952, 'n_tokens_neox': 896, 'n_words': 339}