<commit_before>REQUIREMENTS
============

* Django 1.4 (as of 2012/04/14)
* Python 2.6
* gunicorn for production deployment
* gettext

The virtualenv install script installs everything but the Python sqlite
extension.

HOW TO RUN
==========

# Create virtualenv environment
./install-virtualenv.sh

# Create local configuration
cp sikteeri/local_settings.py.template sikteeri/local_settings.py

# Set at least a secret key, preferably a working email address too
$EDITOR sikteeri/local_settings.py

# init virtualenv and set PYTHONPATH=.. (added to activate script in install)
source env/bin/activate

# Compile translations
./run-sikteeri.sh

Static assets URLs
==================

* /static/ => sikteeri/static/
* /static/membership/ => membership/static/
* /static/admin/ => Django static root<commit_msg>Add migrations notes to README<commit_after>REQUIREMENTS
============

* Django 1.4 (as of 2012/04/14)
* Python 2.6
* gunicorn for production deployment
* gettext

The virtualenv install script installs everything but the Python sqlite
extension.

HOW TO RUN
==========

# Create virtualenv environment
./install-virtualenv.sh

# Create local configuration
cp sikteeri/local_settings.py.template sikteeri/local_settings.py

# Set at least a secret key, preferably a working email address too
$EDITOR sikteeri/local_settings.py

# init virtualenv and set PYTHONPATH=.. (added to activate script in install)
source env/bin/activate

# Compile translations
./run-sikteeri.sh

MIGRATIONS INITIALIZATION
=========================

pip install -r ../requirements.txt                        # install South
PYTHONPATH=.. ./manage.py syncdb                          # South's tables initialized
PYTHONPATH=.. ./manage.py migrate services 0001 --fake    # This needs to be done for each app.
PYTHONPATH=.. ./manage.py migrate membership 0001 --fake

Static assets URLs
==================

* /static/ => sikteeri/static/
* /static/membership/ => membership/static/
* /static/admin/ => Django static root
{'fraction_non_alphanumeric': 0.13243378310844578, 'fraction_numerical': 0.015992003998001, 'mean_word_length': 3.967741935483871, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '6829432', 'n_tokens_mistral': 627, 'n_tokens_neox': 574, 'n_words': 193}