<commit_before># Welcome to Loomio! [![build status](https://secure.travis-ci.org/enspiral/loomio.png?branch=master)](https://secure.travis-ci.org/enspiral/loomio) [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/enspiral/loomio)

Loomio is a free and open-source web application that helps groups make better decisions together.

## Installation

### Install ImageMagick

You can install [ImageMagick](http://www.imagemagick.org/script/binary-releases.php)  with the following commands for Mac or Linux.

#### Mac

```
  $ sudo port install ImageMagick
```

#### Linux

```
  $ sudo apt-get install imagemagick libmagick9-dev
```

### Set up the database

```
  $ cd /dir/to/loomio/
  $ bundle install
  $ cp config/database.example.yml config/database.yml
  $ bundle exec rake db:create
  $ bundle exec rake db:schema:load
  $ bundle exec rake db:schema:load RAILS_ENV=test
  $ bundle exec rake db:seed
```

### Start the server
<commit_msg>Added ubuntu 12.04 fix to install instructions under Linux<commit_after># Welcome to Loomio! [![build status](https://secure.travis-ci.org/enspiral/loomio.png?branch=master)](https://secure.travis-ci.org/enspiral/loomio) [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/enspiral/loomio)

Loomio is a free and open-source web application that helps groups make better decisions together.

## Installation

### Install ImageMagick

You can install [ImageMagick](http://www.imagemagick.org/script/binary-releases.php)  with the following commands for Mac or Linux.

#### Mac

```
  $ sudo port install ImageMagick
```

#### Linux

```
  $ sudo apt-get install imagemagick libmagick9-dev
```
#### Ubuntu 12.04

```
  $ sudo apt-get install libmagickwand-dev
```

### Set up the database

```
  $ cd /dir/to/loomio/
  $ bundle install
  $ cp config/database.example.yml config/database.yml
  $ bundle exec rake db:create
  $ bundle exec rake db:schema:load
  $ bundle exec rake db:schema:load RAILS_ENV=test
  $ bundle exec rake db:seed
```

### Start the server

{'fraction_non_alphanumeric': 0.13761467889908258, 'fraction_numerical': 0.004828585224529213, 'mean_word_length': 4.395833333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, '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': '6355008', 'n_tokens_mistral': 724, 'n_tokens_neox': 684, 'n_words': 174}