<commit_before>== Getting started

Clone the git repository
  git clone <EMAIL>:voxe/voxe-web.git

Ensure you have ImageMagick installed on your system. If not, check out chapter "Dependencies" below.

At the prompt command, install gems:
  bundle install

At the prompt command, start your server:
  rails server

If you need some data, check out chapter "Import Data" below.

== Environment

* Ruby 1.9.2 (use RVM)
* mongoDB 1.8.X
* imagemagick
* heroku

== Dependencies

We doing some image processing with ImageMagick (http://www.imagemagick.org).

For MacOS X users, you can install Homebrew (http://mxcl.github.com/homebrew) a packet manager and then install ImageMagick.

At the command prompt:
  brew install imagemagick

Then:
  bundle install

== Import Data

To get some data from 2007 French Presidential Election, at the command prompt type:

  rake migrate:france2007
  
If you have access to your staging server, you can also use the "heroku-mongo-sync" plugin to get the database we use on this server:<commit_msg>add qt installtion instructions in README<commit_after>== Getting started

Clone the git repository
  git clone <EMAIL>:voxe/voxe-web.git

Ensure you have ImageMagick installed on your system. If not, check out chapter "Dependencies" below.

At the prompt command, install gems:
  bundle install

At the prompt command, start your server:
  rails server

If you need some data, check out chapter "Import Data" below.

== Environment

* Ruby 1.9.2 (use RVM)
* mongoDB 1.8.X
* imagemagick
* heroku

== Dependencies

We doing some image processing with ImageMagick (http://www.imagemagick.org).

For MacOS X users, you can install Homebrew (http://mxcl.github.com/homebrew) a packet manager and then install ImageMagick.

At the command prompt:
  brew install imagemagick

If you want to launch acceptance tests, you should install the qt development libraries.

MacOS X with homebrew:
  brew install qt

An installation guide for qt libs is available here : https://github.com/thoughtbot/capybara-webkit/wiki/Installing-QT

Then:
  bundle install

== Import Data

To get some data from 2007 French Presidential Election, at the command prompt type:

  rake migrate:france2007
  
If you have access to your staging server, you can also use the "heroku-mongo-sync" plugin to get the database we use on this server:
{'fraction_non_alphanumeric': 0.06495726495726496, 'fraction_numerical': 0.011111111111111112, 'mean_word_length': 4.21380846325167, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '1715019', 'n_tokens_mistral': 720, 'n_tokens_neox': 681, 'n_words': 313}