Panduan Pengaturan Lokal
Ini adalah versi ringkas dari Panduan Instalasi Lokal kami
Langkah 1. Unduh Proyek
Unduhan Manual
-
Buka Halaman Proyek: Kunjungi https://github.com/danny-avila/LibreChat.
-
Unduh File ZIP: Klik tombol hijau "Code", lalu klik "Download ZIP."
-
Ekstrak File ZIP: Temukan file ZIP yang telah diunduh, klik kanan, lalu pilih "Extract All...".
Menggunakan Git
Jalankan perintah git berikut di terminal Anda, dari direktori induk yang diinginkan:
git clone https://github.com/danny-avila/LibreChat.gitLangkah 2. Install Docker
- Download: Buka Halaman Unduh Docker Desktop dan unduh Docker Desktop.
- Install: Buka penginstal dan ikuti petunjuknya.
- Jalankan: Buka Docker Desktop untuk memastikan aplikasi tersebut sedang berjalan.
Catatan:
- Docker Desktop direkomendasikan untuk sebagian besar pengguna. Jika Anda mencari pengaturan docker/container tingkat lanjut, terutama untuk instalasi server jarak jauh, lihat Panduan Deployment Docker Ubuntu kami.
- Anda mungkin perlu memulai ulang komputer Anda setelah instalasi.
Langkah 3. Jalankan Aplikasi
-
Arahkan ke Direktori Proyek
-
Buat dan Konfigurasi File .env:
- Salin isi dari
.env.exampleke file baru bernama.env. - Isi nilai-nilai yang diperlukan.
- Untuk konfigurasi lingkungan yang mendalam, lihat .env File Configuration Guide.
- Salin isi dari
-
Jalankan Aplikasi:
- Jalankan perintah berikut:
docker compose up -d
Kesimpulan
Selesai! Anda sekarang seharusnya sudah memiliki LibreChat yang berjalan secara lokal di mesin Anda. Selamat menikmati!
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.
Bagaimana panduan ini?