Skip to content
forked from kapsiry/sikteeri

Membership management system (Django)

License

Notifications You must be signed in to change notification settings

ptMuta/sikteeri

 
 

Repository files navigation

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.

About

Membership management system (Django)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 79.9%
  • HTML 12.2%
  • CSS 4.6%
  • JavaScript 2.8%
  • Shell 0.5%