Add README and .gitignore
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
# Config mit API-Key
|
||||||
|
opencode.jsonc
|
||||||
|
|
||||||
|
# Ausnahmen erzwingen
|
||||||
|
!importantopencode.jsonc
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
# OpenCode Config Sync
|
||||||
|
|
||||||
|
Gemeinsame opencode-Konfiguration für BSN-Team.
|
||||||
|
|
||||||
|
## Nutzung
|
||||||
|
|
||||||
|
1. **Repo clonen:**
|
||||||
|
```bash
|
||||||
|
git clone http://185.162.249.159:3000/danielkrause/openwebui-config.git ~/.config/opencode
|
||||||
|
```
|
||||||
|
|
||||||
|
2. **API-Key einsetzen:**
|
||||||
|
- Kopiere `opencode.jsonc.template` zu `opencode.jsonc`
|
||||||
|
- Ersetze `DEIN_API_KEY_HIER_EINFUEGEN` mit deinem OpenWebUI API-Key
|
||||||
|
- Den Key findest du in OpenWebUI unter **Profil → Settings → Account → API Keys**
|
||||||
|
|
||||||
|
3. **Config aktualisieren:**
|
||||||
|
```bash
|
||||||
|
cd ~/.config/opencode
|
||||||
|
# Bearbeite die config
|
||||||
|
git add -A && git commit -m "update" && git push
|
||||||
|
```
|
||||||
|
|
||||||
|
4. **Auf anderen Geräten:**
|
||||||
|
```bash
|
||||||
|
git pull
|
||||||
|
```
|
||||||
|
|
||||||
|
## Hinweis
|
||||||
|
|
||||||
|
Der API-Key sollte NICHT in das Repository commit werden. Die `.gitignore` ist bereits eingerichtet.
|
||||||
Reference in New Issue
Block a user