fix: correct ConfigMap keys and mount structure for /docs/setup/
This commit is contained in:
parent
3e07d6c613
commit
4bc0e10631
@ -66,9 +66,10 @@ spec:
|
||||
- name: element-web-docs
|
||||
configMap:
|
||||
name: ess-element-web-docs
|
||||
defaultMode: 0644
|
||||
volumeMounts:
|
||||
- name: element-web-docs
|
||||
mountPath: /usr/share/nginx/html/docs
|
||||
mountPath: /usr/share/nginx/html/docs/setup
|
||||
readOnly: true
|
||||
|
||||
# Element Admin
|
||||
|
||||
@ -5,92 +5,12 @@ metadata:
|
||||
namespace: matrix
|
||||
data:
|
||||
# README
|
||||
"setup/README-Element-Setup.md": |
|
||||
"README-Element-Setup.md": |
|
||||
# Element Desktop Setup Scripts
|
||||
|
||||
Automatische Konfiguration und Installation von Element Desktop mit Custom Themes für aXion1337.Chat
|
||||
|
||||
## 📋 Systemanforderungen
|
||||
|
||||
- **Windows 10/11**
|
||||
- **macOS 10.13+**
|
||||
- **Linux** (Ubuntu, Debian, Fedora, Arch, openSUSE, etc.)
|
||||
|
||||
---
|
||||
|
||||
## 🪟 Windows
|
||||
|
||||
### Installation
|
||||
|
||||
1. **Lade die Datei herunter**: `element-setup-windows.cmd`
|
||||
2. **Doppelklick** auf die Datei
|
||||
3. Das Skript wird automatisch:
|
||||
- ✅ Die config.json erstellen
|
||||
- ✅ Element Desktop installieren (falls nötig)
|
||||
- ✅ Element starten
|
||||
|
||||
### Voraussetzungen
|
||||
|
||||
Das Skript versucht automatisch, Element zu installieren über:
|
||||
- Windows Store (Microsoft Store)
|
||||
- WinGet (Windows Package Manager)
|
||||
- Chocolatey
|
||||
|
||||
Falls nichts davon vorhanden ist, installiere Element manuell:
|
||||
https://element.io/download
|
||||
|
||||
---
|
||||
|
||||
## 🍎 macOS
|
||||
|
||||
### Installation
|
||||
|
||||
1. **Lade die Datei herunter**: `element-setup-macos.command`
|
||||
2. **Doppelklick** im Finder
|
||||
3. Das Skript wird automatisch:
|
||||
- ✅ Die config.json erstellen
|
||||
- ✅ Element Desktop installieren (über Homebrew falls nötig)
|
||||
- ✅ Element starten
|
||||
|
||||
### Voraussetzungen
|
||||
|
||||
Das Skript nutzt **Homebrew** (falls vorhanden):
|
||||
```bash
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
```
|
||||
|
||||
Oder installiere Element manuell:
|
||||
https://element.io/download
|
||||
|
||||
---
|
||||
|
||||
## 🐧 Linux
|
||||
|
||||
### Installation
|
||||
|
||||
1. **Lade die Datei herunter**: `element-setup-linux.sh`
|
||||
2. **Im Terminal:**
|
||||
```bash
|
||||
chmod +x element-setup-linux.sh
|
||||
./element-setup-linux.sh
|
||||
```
|
||||
3. Das Skript wird automatisch:
|
||||
- ✅ Die config.json erstellen
|
||||
- ✅ Element Desktop installieren (über apt/dnf/pacman/zypper)
|
||||
- ✅ Element starten
|
||||
|
||||
### Unterstützte Distributionen
|
||||
|
||||
- **Ubuntu/Debian**: `apt`
|
||||
- **Fedora/RHEL**: `dnf`
|
||||
- **Arch Linux**: `pacman`
|
||||
- **openSUSE**: `zypper`
|
||||
|
||||
---
|
||||
|
||||
## 🎨 Themes nach Setup
|
||||
|
||||
Nach dem Setup hat dein Element Desktop automatisch alle Custom Themes:
|
||||
## 🎨 Verfügbare Themes
|
||||
- aXion1337 Dark
|
||||
- Deep Purple
|
||||
- Discord Dark
|
||||
@ -99,24 +19,22 @@ data:
|
||||
- Gruvbox Dark
|
||||
- Wal
|
||||
|
||||
---
|
||||
## 🪟 Windows
|
||||
Herunterladen: `element-setup-windows.cmd` → Doppelklick
|
||||
|
||||
## 🆘 Troubleshooting
|
||||
## 🍎 macOS
|
||||
Herunterladen: `element-setup-macos.command` → Doppelklick im Finder
|
||||
|
||||
### Element startet nicht
|
||||
- Stelle sicher, dass Element Desktop installiert ist
|
||||
- Starten manuell: `element` (Terminal/CMD)
|
||||
## 🐧 Linux
|
||||
```bash
|
||||
chmod +x element-setup-linux.sh
|
||||
./element-setup-linux.sh
|
||||
```
|
||||
|
||||
### config.json wird nicht geladen
|
||||
- Beende Element vollständig (auch in der Taskbar)
|
||||
- Starte Element neu
|
||||
|
||||
### Themes nicht sichtbar
|
||||
- Überprüfe Internetverbindung
|
||||
- `https://axion1337.chat/config.json` sollte erreichbar sein
|
||||
Support: https://element.io/help
|
||||
|
||||
# Windows Script
|
||||
"setup/element-setup-windows.cmd": |
|
||||
"element-setup-windows.cmd": |
|
||||
@echo off
|
||||
REM Element Desktop Setup Script for Windows
|
||||
setlocal enabledelayedexpansion
|
||||
@ -174,7 +92,7 @@ data:
|
||||
pause
|
||||
|
||||
# macOS Script
|
||||
"setup/element-setup-macos.command": |
|
||||
"element-setup-macos.command": |
|
||||
#!/bin/bash
|
||||
echo "========================================"
|
||||
echo "Element Desktop Konfiguration Setup"
|
||||
@ -228,7 +146,7 @@ data:
|
||||
read -p "Druecke Enter zum Beenden..."
|
||||
|
||||
# Linux Script
|
||||
"setup/element-setup-linux.sh": |
|
||||
"element-setup-linux.sh": |
|
||||
#!/bin/bash
|
||||
echo "========================================"
|
||||
echo "Element Desktop Konfiguration Setup"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user