diff --git a/README.md b/README.md index 34f8eb7..149e36a 100644 --- a/README.md +++ b/README.md @@ -47,14 +47,6 @@ Self-hosted AI-Coding-Agent auf Basis der Anthropic Claude API. Stellt eine Web- - Anthropic API Key ([console.anthropic.com](https://console.anthropic.com/)) - Linux/macOS/Windows (Produktiv: Linux empfohlen) -## Installation - -```bash -git clone /app/gott -cd /app/gott -dotnet publish -c Release -o publish -``` - ## Konfiguration Beim ersten Start wird `appsettings.json` mit Standardwerten verwendet. Für eigene Einstellungen eine `appsettings.Production.json` im `publish/`-Verzeichnis anlegen (oder über die Admin-UI verwalten): @@ -86,13 +78,14 @@ Beim ersten Start wird `appsettings.json` mit Standardwerten verwendet. Für eig ## Starten ```bash -cd publish -dotnet gott.dll +dotnet run ``` Die Web-UI ist dann unter `http://localhost:19000` erreichbar. -Beim ersten Start wird automatisch ein Admin-Account erstellt – die Zugangsdaten werden in der Konsole ausgegeben. +Beim ersten Start wird automatisch ein Admin-Account erstellt: +- Benutzername: `admin` +- Passwort: `admin` ## Deployment (Linux) @@ -112,16 +105,15 @@ Beispiel systemd-Unit (`/etc/systemd/system/gott.service`): ```ini [Unit] -Description=gott AI Agent +Description=Gott After=network.target [Service] -WorkingDirectory=/app/gott/publish -ExecStart=/usr/bin/dotnet /app/gott/publish/gott.dll -Restart=always +Type=exec +WorkingDirectory=/app/gott +ExecStart=/app/gott/publish/gott +Restart=on-failure RestartSec=5 -Environment=ASPNETCORE_ENVIRONMENT=Production -Environment=DOTNET_ENVIRONMENT=Production [Install] WantedBy=multi-user.target @@ -152,8 +144,6 @@ gott/ └── images/ # Krea-generierte Bilder ``` -> ⚠️ Quelldateien in `wwwroot/` editieren – **niemals** in `publish/wwwroot/`! - Ausführliche Dokumentation: [ARCHITECTURE.md](ARCHITECTURE.md) · Kurzreferenz: [ARCHITECTURE_QUICK.md](ARCHITECTURE_QUICK.md) ---