main_java

config/ - Verzeichnisstruktur

config/
β”‚
β”œβ”€β”€ QUICKSTART.md                          # πŸš€ Schnellstart-Anleitung
β”œβ”€β”€ readme.md                              # πŸ“– VollstΓ€ndige Dokumentation
β”‚
β”œβ”€β”€ shared/                                # βœ… IM GIT - Gemeinsame Konfigurationen
β”‚   β”œβ”€β”€ wsl/
β”‚   β”‚   └── aliases.sh                    # Gemeinsame WSL/Bash Aliase
β”‚   β”‚
β”‚   β”œβ”€β”€ docker/
β”‚   β”‚   β”œβ”€β”€ docker-compose.yml            # Docker Services (Postgres, etc.)
β”‚   β”‚   └── .env                          # Standard Umgebungsvariablen (OHNE Secrets!)
β”‚   β”‚
β”‚   β”œβ”€β”€ scripts/
β”‚   β”‚   └── setup-dev-env.sh              # Setup-Skript fΓΌr neue Entwickler
β”‚   β”‚
β”‚   └── ai-prompts/                       # KI-Prompt Bibliothek
β”‚       β”œβ”€β”€ readme.md
β”‚       β”œβ”€β”€ maven/
β”‚       β”‚   └── multi-module-setup.md     # Maven Multi-Module Prompts
β”‚       β”œβ”€β”€ code-review/
β”‚       β”œβ”€β”€ documentation/
β”‚       β”œβ”€β”€ refactoring/
β”‚       └── testing/
β”‚
β”œβ”€β”€ local/                                 # ❌ NICHT IM GIT - Maschinenspezifisch
β”‚   β”‚                                      # (wird durch setup-dev-env.sh erstellt)
β”‚   β”œβ”€β”€ wsl/
β”‚   β”‚   └── aliases.sh                    # PersΓΆnliche Aliase
β”‚   β”‚
β”‚   └── docker/
β”‚       β”œβ”€β”€ .env.local                    # Lokale Overrides MIT Secrets
β”‚       β”œβ”€β”€ data/                         # Postgres Daten
β”‚       β”‚   └── postgres/
β”‚       └── backups/                      # Database Backups
β”‚
└── templates/                             # βœ… IM GIT - Vorlagen
    β”œβ”€β”€ .env.template                     # Template fΓΌr .env.local
    └── wsl-aliases.template              # Template fΓΌr lokale Aliase

Legende

Symbol Bedeutung
βœ… Wird ins Git committed
❌ Wird NICHT ins Git committed
πŸš€ Schnellstart/Wichtig
πŸ“– Dokumentation

Git-Status der Verzeichnisse

Versioniert (im Git)

Ignoriert (nicht im Git)

Verwendungsmuster

1. Gemeinsame Konfiguration hinzufΓΌgen

# Neue gemeinsame Konfiguration erstellen
echo "alias my-alias='command'" >> config/shared/wsl/aliases.sh

# Committen und pushen
git add config/shared/
git commit -m "Add new shared alias"
git push

2. Lokale Konfiguration anpassen

# Lokale Datei bearbeiten (wird NICHT committed)
nano config/local/wsl/aliases.sh

3. Neues Template erstellen

# Template erstellen
cat > config/templates/my-config.template << 'EOF'
# Meine Konfiguration
KEY=VALUE
EOF

# Template committen
git add config/templates/my-config.template
git commit -m "Add my-config template"

4. Template zu lokal kopieren

cp config/templates/my-config.template config/local/my-config
# Dann config/local/my-config anpassen