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
|
- name: element-web-docs
|
||||||
configMap:
|
configMap:
|
||||||
name: ess-element-web-docs
|
name: ess-element-web-docs
|
||||||
|
defaultMode: 0644
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: element-web-docs
|
- name: element-web-docs
|
||||||
mountPath: /usr/share/nginx/html/docs
|
mountPath: /usr/share/nginx/html/docs/setup
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
|
||||||
# Element Admin
|
# Element Admin
|
||||||
|
|||||||
@ -5,92 +5,12 @@ metadata:
|
|||||||
namespace: matrix
|
namespace: matrix
|
||||||
data:
|
data:
|
||||||
# README
|
# README
|
||||||
"setup/README-Element-Setup.md": |
|
"README-Element-Setup.md": |
|
||||||
# Element Desktop Setup Scripts
|
# Element Desktop Setup Scripts
|
||||||
|
|
||||||
Automatische Konfiguration und Installation von Element Desktop mit Custom Themes für aXion1337.Chat
|
Automatische Konfiguration und Installation von Element Desktop mit Custom Themes für aXion1337.Chat
|
||||||
|
|
||||||
## 📋 Systemanforderungen
|
## 🎨 Verfügbare Themes
|
||||||
|
|
||||||
- **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:
|
|
||||||
- aXion1337 Dark
|
- aXion1337 Dark
|
||||||
- Deep Purple
|
- Deep Purple
|
||||||
- Discord Dark
|
- Discord Dark
|
||||||
@ -99,24 +19,22 @@ data:
|
|||||||
- Gruvbox Dark
|
- Gruvbox Dark
|
||||||
- Wal
|
- Wal
|
||||||
|
|
||||||
---
|
## 🪟 Windows
|
||||||
|
Herunterladen: `element-setup-windows.cmd` → Doppelklick
|
||||||
|
|
||||||
## 🆘 Troubleshooting
|
## 🍎 macOS
|
||||||
|
Herunterladen: `element-setup-macos.command` → Doppelklick im Finder
|
||||||
|
|
||||||
### Element startet nicht
|
## 🐧 Linux
|
||||||
- Stelle sicher, dass Element Desktop installiert ist
|
```bash
|
||||||
- Starten manuell: `element` (Terminal/CMD)
|
chmod +x element-setup-linux.sh
|
||||||
|
./element-setup-linux.sh
|
||||||
|
```
|
||||||
|
|
||||||
### config.json wird nicht geladen
|
Support: https://element.io/help
|
||||||
- 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
|
|
||||||
|
|
||||||
# Windows Script
|
# Windows Script
|
||||||
"setup/element-setup-windows.cmd": |
|
"element-setup-windows.cmd": |
|
||||||
@echo off
|
@echo off
|
||||||
REM Element Desktop Setup Script for Windows
|
REM Element Desktop Setup Script for Windows
|
||||||
setlocal enabledelayedexpansion
|
setlocal enabledelayedexpansion
|
||||||
@ -174,7 +92,7 @@ data:
|
|||||||
pause
|
pause
|
||||||
|
|
||||||
# macOS Script
|
# macOS Script
|
||||||
"setup/element-setup-macos.command": |
|
"element-setup-macos.command": |
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "========================================"
|
echo "========================================"
|
||||||
echo "Element Desktop Konfiguration Setup"
|
echo "Element Desktop Konfiguration Setup"
|
||||||
@ -228,7 +146,7 @@ data:
|
|||||||
read -p "Druecke Enter zum Beenden..."
|
read -p "Druecke Enter zum Beenden..."
|
||||||
|
|
||||||
# Linux Script
|
# Linux Script
|
||||||
"setup/element-setup-linux.sh": |
|
"element-setup-linux.sh": |
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "========================================"
|
echo "========================================"
|
||||||
echo "Element Desktop Konfiguration Setup"
|
echo "Element Desktop Konfiguration Setup"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user