<commit_before>fortyTwo
========

The XAL Application Framework, known as XAF or just fortyTwo. 


To get started, simply type the following commands in you bash shell:

    $ curl -O http://python-distribute.org/distribute_setup.py
    $ python distribute_setup.py
    $ sudo easy_install pip
    $ sudo pip install virtualenv
    $ cd fortyTwo
    $ virtualenv fortyTwo-env
    $ source fortyTwo-env/bin/activate

Additionally, iPython is of great help:

    $ cd fortyTwo-env
    $ pip install ipython

Use your local package manager to install nginx, e.g.

    $ brew install nginx

Locate your nginx configuration file and possibly change the port it listens for and start it. With homebrew on a Mac, this works:

    $ vim /usr/local/etc/nginx/nginx.conf
    $ sudo nginx

Then get uwsgi

    $ pip install uwsgi

webapp2:

    $ pip install WebOb
    $ pip install webapp2

Databases:

    $ pip install pymongo
    $ pip install elasticsearch

*Warning:* If you have installed python with homebrew on mac, the setup seems to not work.<commit_msg>master added couchdb installation instructions<commit_after>fortyTwo
========

The XAL Application Framework, known as XAF or just fortyTwo. 


To get started, simply type the following commands in you bash shell:

    $ curl -O http://python-distribute.org/distribute_setup.py
    $ python distribute_setup.py
    $ sudo easy_install pip
    $ sudo pip install virtualenv
    $ cd fortyTwo
    $ virtualenv fortyTwo-env
    $ source fortyTwo-env/bin/activate

Additionally, iPython is of great help:

    $ cd fortyTwo-env
    $ pip install ipython

Use your local package manager to install nginx, e.g.

    $ brew install nginx

Locate your nginx configuration file and possibly change the port it listens for and start it. With homebrew on a Mac, this works:

    $ vim /usr/local/etc/nginx/nginx.conf
    $ sudo nginx

Then get uwsgi

    $ pip install uwsgi

webapp2:

    $ pip install WebOb
    $ pip install webapp2

Databases:

    $ pip install pymongo
    $ pip install elasticsearch
    $ pip install couchdb

*Warning:* If you have installed python with homebrew on mac, the setup seems to not work.
{'fraction_non_alphanumeric': 0.06229810798338717, 'fraction_numerical': 0.0018458698661744347, 'mean_word_length': 3.161228406909789, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4056390', 'n_tokens_mistral': 662, 'n_tokens_neox': 621, 'n_words': 260}