diff --git a/app/core/settings.py b/app/core/settings.py index a45dfaa..289457e 100644 --- a/app/core/settings.py +++ b/app/core/settings.py @@ -166,7 +166,7 @@ LOGIN_REDIRECT_URL = "/" LOGOUT_REDIRECT_URL = "/login/" # Gramps integration -GRAMPS_URL = os.environ.get("GRAMPS_URL", "http://grampsweb:80") +GRAMPS_URL = os.environ.get("GRAMPS_URL", "http://grampsweb:5000") GRAMPS_API_TOKEN = os.environ.get("GRAMPS_API_TOKEN", "") GRAMPS_STIFTER_IDS = os.environ.get("GRAMPS_STIFTER_IDS", "") # comma-separated GRAMPS_USERNAME = os.environ.get("GRAMPS_USERNAME", "") diff --git a/app/templates/base.html b/app/templates/base.html index d3e2fc5..668e50f 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -689,6 +689,10 @@ Geschichte + + + Ahnenforschung + {% if perms.stiftung.access_administration %} diff --git a/env-template.txt b/env-template.txt index e2ae982..8b87388 100644 --- a/env-template.txt +++ b/env-template.txt @@ -53,8 +53,17 @@ IMAP_FOLDER=INBOX IMAP_USE_SSL=true # Integration von Grampsweb zur Ahnenforschung und Prüfung -GRAMPS_URL=http://192.168.178.167:30179 +# Django-App Verbindung zu GrampsWeb API (internes Docker-Netzwerk) +GRAMPS_URL=http://grampsweb:5000 GRAMPS_USERNAME=Stiftung -GRAMPS_PASSWORD=home4Gty94rj*de +GRAMPS_PASSWORD=your-gramps-password-here +GRAMPS_API_TOKEN= + +# GrampsWeb Container Konfiguration +GRAMPSWEB_SECRET_KEY=your-grampsweb-secret-key-here +GRAMPSWEB_ADMIN_EMAIL=admin@vhtv-stiftung.de +GRAMPSWEB_ADMIN_PASSWORD=your-grampsweb-admin-password-here +GRAMPSWEB_TREE=Stiftung +GRAMPSWEB_BASE_URL=/ahnenforschung \ No newline at end of file