diff --git a/debian/compte-agglo-montpellier.conf b/debian/compte-agglo-montpellier.conf index 8303cd0..3d3dcb2 100644 --- a/debian/compte-agglo-montpellier.conf +++ b/debian/compte-agglo-montpellier.conf @@ -3,6 +3,13 @@ export DATABASE_ENGINE='django.db.backends.sqlite3' export DATABASE_NAME='/var/lib/compte-agglo-montpellier/compte-agglo-montpellier.db' +# Debug +#export DEBUG=yes + +# Define administrators / managers +export ADMINS='admin eo;admin@entrouvert.com' + + # Static root directory export STATIC_ROOT='/var/lib/compte-agglo-montpellier/static' @@ -15,6 +22,20 @@ export SECRET_KEY='changeme' # We are behind a reverse proxy so we accept every hosts export ALLOWED_HOSTS='*' +# Configure Django cache +export CACHE_BACKEND='{"BACKEND": "django.core.cache.backends.memcached.MemcachedCache", "LOCATION": "127.0.0.1:11211"}' + +# SMS url +export PORTAIL_CITOYEN_SMS_URL='https://passerelle.montpellier-agglo.com/message/sms/json' + +# Email configuration +#EMAIL_HOST = 'localhost' +#EMAIL_PORT = 25 +#EMAIL_SUBJECT_PREFIX = '[Compte Montpellier Prod]' +#SERVER_EMAIL = 'root@compte-montpellier.montpellier-agglo.com' + +#DEFAULT_FROM_EMAIL = 'e-services@montpellier-agglo.com' + # You MUST set RSA key here # you can generate this key with this commands : # openssl genrsa -out saml.key 2048 @@ -23,7 +44,7 @@ export ALLOWED_HOSTS='*' #export SAML_SIGNATURE_PRIVATE_KEY="" # Enables some features -#export IDP_SAML2='yes' +export IDP_SAML2='yes' #export IDP_OPENID='yes' #export IDP_CAS='yes' #export AUTH_SAML2='yes' diff --git a/debian/control b/debian/control index 25c5ae4..6e3088d 100644 --- a/debian/control +++ b/debian/control @@ -18,6 +18,8 @@ Depends: ${misc:Depends}, python-cmsplugin-embedded-menu, python-cmsplugin-text-wrapper, rsyslog | syslog-ng | dsyslog | busybox-syslogd | inetutils-syslogd, + memcached, + python-memcache, gunicorn (>= 0.14) Description: Compte agglo montpellier