31 lines
792 B
Markdown
31 lines
792 B
Markdown
# 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. |