Required Packages¶
Dependencies¶
DjNRO heavily depends on the following:
- Python (<3 & >=2.6)
- Django (>=1.2) - python-django
- memcached
- python-django-extensions
- python-mysqldb (If you wish to use MySQL as the DB backend)
- mysql-client
- python-ipaddr
- python-django-south (For database migrations). If you deploy MySQL >=5.5 and earlier versions of south (< 0.7.5), you are advised to upgrade to South >=0.7.5, as you may suffer from this bug
- python-django-tinymce (Flatpages editing made easier)
- python-memcache (Yeap! You need that for Google maps locations caching)
- python-django-registration (User activation made easy)
- apache2 (We suggest apache with mod_rewrite enabled - use your preferred server)
- libapache2-mod-wsgi
- libapache2-mod-shib2 : The server should be setup as a Shibboleth SP
- A mail server - Tested with exim
Conditional Dependencies¶
- gettext: only if one will be editing and compiling translations
- python-django-auth-ldap: if ldap authentication backend will be used.
Django Social Auth¶
User authentication via social media is carried out by the python-django-social-auth python-django-social-auth package. We have included python-django-social-auth 0.7.18 in repository because DjNRO requires WrongBackend from social_auth.exceptions; this does not exist in 0.7.0 which ships with Debian Wheezy.
Django Social Auth: Requirements - Dependencies¶
- OpenId support depends on python-openid
- OAuth support depends on python-oauth2