<commit_before>================
FeinCMS in a Box
================


Instructions::

    git clone git://github.com/matthiask/feincms-in-a-box.git box
    cd box
    virtualenv venv
    source venv/bin/activate
    pip install -r requirements/dev.txt
    echo "SECRET_KEY = 'unsafe'" > box/local_settings.py
    ./manage.py syncdb --all
    ./manage.py migrate --all --fake
    fab dev

    open http://127.0.0.1:8038/admin/

    # OR xdg-open http://127.0.0.1:8038/admin/<commit_msg>Add prerequisites to the README<commit_after>================
FeinCMS in a Box
================

Prerequisites
-------------

An up-to-date installation of compass and zurb-foundation 4.3.2::

    (sudo) gem install compass
    (sudo) gem install zurb-foundation --version '=4.3.2'

Under Debian-derivatives, you need the following libraries::

    sudo apt-get install build-essential python-dev libjpeg8-dev\
    libxslt1-dev libfreetype6-dev

Under OS X, you need an installation of Xcode. It is also recommended
to install `Homebrew <http://brew.sh/>`_, and install the following
packages::

    brew install gettext
    brew install libxslt
    brew install libxml2
    brew install jpeg


Installattion
-------------

The following commands should get you up and running::

    git clone git://github.com/matthiask/feincms-in-a-box.git box
    cd box
    git remote rm origin
    virtualenv venv
    source venv/bin/activate
    pip install -r requirements/dev.txt
    echo "SECRET_KEY = 'unsafe'" > box/local_settings.py
    ./manage.py syncdb --all
    ./manage.py migrate --all --fake
    fab dev

    open http://127.0.0.1:8038/admin/

    # OR xdg-open http://127.0.0.1:8038/admin/
{'fraction_non_alphanumeric': 0.15164179104477613, 'fraction_numerical': 0.029850746268656716, 'mean_word_length': 2.749440715883669, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 4, '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': '280690', 'n_tokens_mistral': 587, 'n_tokens_neox': 534, 'n_words': 160}