Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Membership management system (Django)
Python HTML CSS JavaScript Shell

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.settings
apache
cgi-bin
doc
membership
munin_plugins
services
sikteeri
webroot
.gitattributes
.gitignore
.project
.pydevproject
AUTHORS.txt
LICENSE.txt
README.txt
build.sh
install-virtualenv.sh
lighttpd.conf.template
requirements.txt
run-sikteeri.sh

README.txt

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.
./manage.py syncdb                            # Initialize South tables.
./manage.py migrate services 0001 --fake      # Fake initial migration.
./manage.py migrate membership 0001 --fake    # Fake initial migration.


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

* /static/ => sikteeri/static/
* /static/membership/ => membership/static/
* /static/admin/ => Django static root
Something went wrong with that request. Please try again.