Membership management system (Django)
Python HTML CSS JavaScript Shell
Latest commit 8070867 Mar 12, 2017 @annttu annttu committed on GitHub Merge pull request #130 from kapsiry/account-description
Update description for unix account field
Permalink
Failed to load latest commit information.
.settings
external
membership Use the earliest unix account alias as fallback Mar 12, 2017
munin_plugins
services Update description for unix account field Mar 12, 2017
sikteeri Improve the look of membership edit form. Jul 30, 2016
.gitattributes Add version info from git Nov 12, 2011
.gitignore
.project Do track Eclipse pydev files after all Nov 13, 2011
.pydevproject Do track Eclipse pydev files after all Nov 13, 2011
.travis.yml Travis: Try to fix pip cache Nov 2, 2015
AUTHORS.txt
LICENSE.txt Copyright year bump Jul 16, 2014
README.md Improve install-virtualenv.sh and update README Feb 5, 2017
compile-translations.sh
config-dev.json
install-virtualenv.sh
manage.py
pytest.ini Configure py.test with coverage Oct 31, 2015
requirements.txt
run-sikteeri.sh Substitute '/bin/bash' with '/usr/bin/env bash' so the scripts work also Jul 30, 2016
test.sh Substitute '/bin/bash' with '/usr/bin/env bash' so the scripts work also Jul 30, 2016

README.md

Coverage via Codecov Test results at Travis CI

REQUIREMENTS

The following software is required to install Sikteeri.

  • Python 2.7
  • gettext
  • openldap and sasl dev for LDAP support

For production, additionally:

  • PostgreSQL

HOW TO RUN

Create virtualenv environment

./install-virtualenv.sh

OR you may create and activate virtualenv from requirements.txt manually.

Activate virtualenv

source env/bin/activate

Initialize development database

./manage.py migrate && \
./manage.py createsuperuser && \
./manage.py loaddata membership/fixtures/membership_fees.json && \
./manage.py generate_test_data

Use development settings

export SIKTEERI_CONFIGURATION=dev

Compile translations and run development server

./run-sikteeri.sh

Access the development server at

http://127.0.0.1:8000/

Log in at

http://127.0.0.1:8000/login/

Run unit tests (always before committing changes)

./manage.py test

OR with py.test:

pip install pytest pytest-cov pytest-django
./test.sh

Settings

If you want to override settings, create a local settings file which has "import * from sikteeri.settings" and set:

export DJANGO_SETTINGS_MODULE=sikteeri.my_settings

The default settings.py must be the default development configuration and work out of the box for quick development. Production settings (email subjects, bank account numbers etc.) are configured as JSON file.