3. Configuration

Back ends required by Ferda are configured in .conf files. There will be example configuration files included (fred-registry-services.conf.example and fred-logger-services.conf.example).

Ferda front end is configured as a Django project in a settings.py file. The following sections describe only the most critical settings. There will be an example configuration file included (settings.py.example).

3.1. Connection to back end

FERDA_REGISTRY_NETLOC = 'host:port'

Set up the network location of the gRPC server with connection to fred-registry-services.

FERDA_LOGGER_NETLOC = 'host:port'

Set up the network location of the gRPC server with connection to fred-logger-services.

3.2. Django apps

INSTALLED_APPS must include:

  • django.contrib.admin

  • django.contrib.auth

  • django.contrib.contenttypes

  • django.contrib.sessions

  • django.contrib.messages

  • django.contrib.staticfiles

  • django_python3_ldap (if you will use LDAP for Authentication)

  • ferda.apps.FerdaConfig

3.3. Authentication

Set an authentication back end in the AUTHENTICATION_BACKENDS variable according to your policies or preferences.

See User authentication in Django.