GrampsWeb Phase 1: Sidebar-Link, Settings-Fix & Env-Template (STI-90)

- Fix GRAMPS_URL default port from 80 to 5000 to match dev compose
- Add "Ahnenforschung" sidebar link in navigation (links to /ahnenforschung/)
- Update env-template with all GRAMPSWEB_* variables for production setup

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
SysAdmin Agent
2026-03-21 23:40:55 +00:00
parent 4d751d861d
commit f893172a2b
3 changed files with 16 additions and 3 deletions

View File

@@ -166,7 +166,7 @@ LOGIN_REDIRECT_URL = "/"
LOGOUT_REDIRECT_URL = "/login/" LOGOUT_REDIRECT_URL = "/login/"
# Gramps integration # 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_API_TOKEN = os.environ.get("GRAMPS_API_TOKEN", "")
GRAMPS_STIFTER_IDS = os.environ.get("GRAMPS_STIFTER_IDS", "") # comma-separated GRAMPS_STIFTER_IDS = os.environ.get("GRAMPS_STIFTER_IDS", "") # comma-separated
GRAMPS_USERNAME = os.environ.get("GRAMPS_USERNAME", "") GRAMPS_USERNAME = os.environ.get("GRAMPS_USERNAME", "")

View File

@@ -689,6 +689,10 @@
<i class="fas fa-book-open"></i> <i class="fas fa-book-open"></i>
<span>Geschichte</span> <span>Geschichte</span>
</a> </a>
<a class="sidebar-link" href="/ahnenforschung/" target="_blank">
<i class="fas fa-tree"></i>
<span>Ahnenforschung</span>
</a>
{% if perms.stiftung.access_administration %} {% if perms.stiftung.access_administration %}
<a class="sidebar-link" href="{% url 'stiftung:administration' %}"> <a class="sidebar-link" href="{% url 'stiftung:administration' %}">
<i class="fas fa-cogs"></i> <i class="fas fa-cogs"></i>

View File

@@ -53,8 +53,17 @@ IMAP_FOLDER=INBOX
IMAP_USE_SSL=true IMAP_USE_SSL=true
# Integration von Grampsweb zur Ahnenforschung und Prüfung # 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_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