<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

RUNNING MIGRATIONS IN PRODUCTION
================================

./manage.py migrate  # Migrate all installed apps.
./manage.py syncdb   # Ensure that permissions are there.

MIGRATIONS INITIALIZATION FOR DEPLOYMENTS < 1.2.4
=================================================

pip install -r ../requirements.txt            # Install South.<commit_msg>Fix permission creation note<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

RUNNING MIGRATIONS IN PRODUCTION
================================

./manage.py migrate       # Migrate all installed apps.
./manage.py syncdb --all  # Ensure that permissions are there.

MIGRATIONS INITIALIZATION FOR DEPLOYMENTS < 1.2.4
=================================================

pip install -r ../requirements.txt            # Install South.
{'fraction_non_alphanumeric': 0.16559246405552802, 'fraction_numerical': 0.014873574615765989, 'mean_word_length': 4.528767123287671, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6660808', 'n_tokens_mistral': 617, 'n_tokens_neox': 562, 'n_words': 193}