Torvi
Python CSS Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
locale/fi/LC_MESSAGES
news
static
templates
.gitignore
LICENSE.txt
README.txt
manage.py
requirements.txt
tiedotteet.sh

README.txt

REQUIREMENTS
============

* Django 1.4
* Python2.6
* gunicorn for production deployment
* gettext
* requests
* requests-oauth
* libxml2-python

The virtualenv install script installs everything but the Python sqlite and xml2
extensions.

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

# Create virtualenv environment
./install-virtualenv.sh

# init virtualenv
source env/bin/activate

# install requrirements
pip install -r requirements.txt

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

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

# Compile translations
./manage.py compilemessages