Handleiding voor lokale installatie
Dit is een verkorte versie van onze Local Installation Guide
Stap 1. Download het project
Handmatige download
-
Ga naar de Projectpagina: Bezoek https://github.com/danny-avila/LibreChat.
-
Download het ZIP-bestand: Klik op de groene "Code"-knop en klik vervolgens op "Download ZIP."
-
Pak het ZIP-bestand uit: Zoek het gedownloade ZIP-bestand, klik met de rechtermuisknop en selecteer "Alles uitpakken...".
Git gebruiken
Voer het volgende git commando uit in je terminal, vanuit de gewenste bovenliggende map:
git clone https://github.com/danny-avila/LibreChat.gitStap 2. Installeer Docker
- Download: Ga naar de Docker Desktop Download Page en download Docker Desktop.
- Install: Open het installatieprogramma en volg de instructies.
- Run: Open Docker Desktop om er zeker van te zijn dat het draait.
Opmerkingen:
- Docker Desktop wordt voor de meeste gebruikers aanbevolen. Als je op zoek bent naar een geavanceerde docker/container-configuratie, vooral voor een installatie op een externe server, bekijk dan onze Ubuntu Docker Deployment Guide.
- Mogelijk moet je je computer opnieuw opstarten na de installatie.
Stap 3. De app uitvoeren
-
Navigeer naar de Project Directory
-
Maak en configureer het .env bestand:
- Kopieer de inhoud van
.env.examplenaar een nieuw bestand genaamd.env. - Vul alle benodigde waarden in.
- Voor een uitgebreide omgevingsconfiguratie, zie de .env File Configuration Guide.
- Kopieer de inhoud van
-
Start de Applicatie:
- Voer het volgende commando uit:
docker compose up -d
Conclusie
Dat is alles! Je zou LibreChat nu lokaal op je machine moeten hebben draaien. Veel plezier!
Additional Links
Explore more about LibreChat and how to configure it to your needs.
- Updating LibreChat
- Instructions on how to update this setup with the latest changes to LibreChat.
- Configuring AI Providers
- Configure OpenAI, Google, Anthropic, and OpenAI Assistants
- Configuring a Custom Endpoint
- Configure services such as Deepseek, OpenRouter, Ollama, Mistral AI, Databricks, groq, and others.
- Click here for a list of known, compatible services.
- Environment Configuration
- Read for a comprehensive look at the
.envfile.
- Read for a comprehensive look at the
- librechat.yaml File Configuration
- Configure custom rate limiters, file outputs, and much more with the
librechat.yamlfile.
- Configure custom rate limiters, file outputs, and much more with the
- Ubuntu Docker Deployment Guide
- Read for advanced Docker setup on a remote/headless server.
- Setup the Azure OpenAI endpoint
- Configure multiple Azure regions and deployments for seamless use with LibreChat.
Hoe is deze gids?