ローカルセットアップガイド
これは、Local Installation Guide の要約版です。
ステップ 1. プロジェクトのダウンロード
手動ダウンロード
-
プロジェクトページへ移動: https://github.com/danny-avila/LibreChat にアクセスしてください。
-
ZIPファイルをダウンロード: 緑色の「Code」ボタンをクリックし、「Download ZIP」をクリックします。
-
ZIPファイルを展開する: ダウンロードしたZIPファイルを見つけ、右クリックして「すべて展開...」を選択します。
Gitの使用
ターミナルで、目的の親ディレクトリから以下の git コマンドを実行してください:
ステップ 2. Docker をインストールする
- ダウンロード: Docker Desktop ダウンロードページ にアクセスし、Docker Desktop をダウンロードしてください。
- インストール: インストーラーを開き、指示に従ってください。
- 実行: Docker Desktop を開き、実行中であることを確認します。
注記:
- ほとんどのユーザーには Docker Desktop が推奨されます。高度な Docker/コンテナ設定、特にリモートサーバーへのインストールをお探しの場合は、Ubuntu Docker Deployment Guide を参照してください。
- インストール後、コンピュータの再起動が必要になる場合があります。
ステップ 3. アプリの実行
-
プロジェクトディレクトリに移動する
-
Create and Configure .env File:
.env.exampleの内容をコピーして、.envという名前の新しいファイルを作成します。- 必要な値を入力してください。
- 詳細な環境設定については、.env File Configuration Guide を参照してください。
-
アプリケーションの起動:
- 以下のコマンドを実行してください:
結論
以上です! これでローカル環境で LibreChat が動作するはずです。お楽しみください!
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.
このガイドはいかがでしたか?