The following software is required to install Sikteeri.
- Python 2.7
- gettext
- openldap and sasl dev for LDAP support
For production, additionally:
- PostgreSQL
./install-virtualenv.sh
OR you may create and activate virtualenv from requirements.txt manually.
source env/bin/activate
./manage.py migrate && \
./manage.py createsuperuser && \
./manage.py loaddata membership/fixtures/membership_fees.json && \
./manage.py generate_test_data
export SIKTEERI_CONFIGURATION=dev
./run-sikteeri.sh
http://127.0.0.1:8000/
http://127.0.0.1:8000/login/
./manage.py test
pip install pytest pytest-cov pytest-django
./test.sh
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.