SielBotWebsite/README.md
2026-09-29 06:34:54 +02:00

34 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Siel-Panel
Verwaltungswebsite für **Siel**, den Discord-Bot von DACH Elyos – https://bot.lumina-ascendens.de
- Login über Discord (nur `identify`). Maaxxs und Gurkenking sind feste Admins (`config.OWNERS`),
weitere Personen bekommen unter „Zugänge“ Rechte pro Bereich.
- Die Einstellungen liegen beim Bot und werden über seine interne API (`127.0.0.1:8001`,
Header `X-API-Key`) gelesen und gespeichert. Das Panel selbst speichert nur Zugänge und das
Änderungsprotokoll (`panel.db`).
- Technik: FastAPI + Jinja2, läuft als Dienst `sielpanel` auf `127.0.0.1:8002`, davor Caddy.
## Einrichtung auf dem Server
```sh
git clone https://git.maaxxs-coding.de/max.olchov/SielBotWebsite /root/sielbotwebsite
cd /root/sielbotwebsite
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
cp .env.example .env # Werte eintragen
cp sielpanel.service /etc/systemd/system/ && systemctl enable --now sielpanel
```
Caddy (`/opt/forgejo/Caddyfile`):
```
bot.lumina-ascendens.de {
reverse_proxy 127.0.0.1:8002
}
```
## Update
```sh
cd /root/sielbotwebsite && git pull && systemctl restart sielpanel
```