<commit_before>Installation
==============

Installation with Vagrant virtual machine
-----------------------------------------

Requirements:

1. virtualbox: https://virtualbox.org/wiki/Downloads
2. vagrant: http://docs.vagrantup.com/v2/installation/index.html

create virtual machine and login:

    (LINUX:)    wget https://raw.githubusercontent.com/liqd/adhocracy3/master/Vagrantfile
    (OSX:)      curl https://raw.githubusercontent.com/liqd/adhocracy3/master/Vagrantfile
    vagrant up
    vagrant ssh


Installation (backend)
----------------------

Requirements (Tested on Debian\Ubuntu,  64-Bit is mandatory):

1. git
2. python python-setuptools
3. build-essential libssl-dev libbz2-dev libyaml-dev libncurses5-dev
4. graphviz
5. ruby-dev
If you don't use the custom compiled python (see below) you need some
some basic dependencies to build PIL (python image library):
6. libjepg-dev libzlib-dev (http://pillow.readthedocs.org/en/latest/installation.html)

create SSH key and upload to github ::

    ssh-keygen -t rsa -C "<EMAIL>"

checkout source code ::

    git clone git@github.com:liqd/adhocracy3.git
    cd adhocracy3
    git submodule update --init

compile python 3.4 and PIL ::

    cd python
    python ./bootstrap.py
    ./bin/buildout
    ./bin/install-links
    cd ..

install adhocracy ::

    ./bin/python ./bootstrap.py -v 2.3.0 --setuptools-version=8.0.3
    ./bin/buildout

update your shell environment::<commit_msg>Fix typos in installation<commit_after>Installation
==============

Installation with Vagrant virtual machine
-----------------------------------------

Requirements:

1. virtualbox: https://virtualbox.org/wiki/Downloads
2. vagrant: http://docs.vagrantup.com/v2/installation/index.html

create virtual machine and login:

    (LINUX:)    wget https://raw.githubusercontent.com/liqd/adhocracy3/master/Vagrantfile
    (OSX:)      curl https://raw.githubusercontent.com/liqd/adhocracy3/master/Vagrantfile
    vagrant up
    vagrant ssh


Installation (backend)
----------------------

Requirements (Tested on Debian\Ubuntu,  64-Bit is mandatory):

1. git
2. python python-setuptools
3. build-essential libssl-dev libbz2-dev libyaml-dev libncurses5-dev
4. graphviz
5. ruby-dev
If you don't use the custom compiled python (see below) you need some
some basic dependencies to build PIL (python image library):
6. libjpeg8-dev zlib1g-dev (http://pillow.readthedocs.org/en/latest/installation.html)

create SSH key and upload to github ::

    ssh-keygen -t rsa -C "<EMAIL>"

checkout source code ::

    git clone <EMAIL>:liqd/adhocracy3.git
    cd adhocracy3
    git submodule update --init

compile python 3.4 and PIL ::

    cd python
    python ./bootstrap.py
    ./bin/buildout
    ./bin/install-links
    cd ..

install adhocracy ::

    ./bin/python ./bootstrap.py -v 2.3.0 --setuptools-version=8.0.3
    ./bin/buildout

update your shell environment::
{'fraction_non_alphanumeric': 0.1517764746464298, 'fraction_numerical': 0.017937219730941704, 'mean_word_length': 2.830911492734478, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '491066', 'n_tokens_mistral': 991, 'n_tokens_neox': 928, 'n_words': 254}