From d57602b3f18bab1de2e2be70e4c240e0b24eebaa Mon Sep 17 00:00:00 2001 From: Ayumu-Nono Date: Fri, 9 Jan 2026 16:49:02 +0900 Subject: [PATCH] =?UTF-8?q?env=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/.env.example | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/app/.env.example b/app/.env.example index c8a43db..1f652f0 100644 --- a/app/.env.example +++ b/app/.env.example @@ -1,2 +1,33 @@ +# ============================================================================= +# labcode-web-app フロントエンド環境変数設定ファイル +# ============================================================================= +# このファイルを .env にコピーして使用してください: +# cp .env.example .env +# ============================================================================= + +# ----------------------------------------------------------------------------- +# Google OAuth 設定(必須) +# ----------------------------------------------------------------------------- +# Google Cloud Console から取得してください +# 1. https://console.cloud.google.com/apis/credentials にアクセス +# 2. 「認証情報を作成」→「OAuth クライアント ID」を選択 +# 3. アプリケーションの種類: ウェブアプリケーション +# 4. 作成後、クライアントIDをコピー VITE_GOOGLE_CLIENT_ID=your-google-client-id.apps.googleusercontent.com -ALLOWED_HOST=labcode-web-app.com \ No newline at end of file + +# ----------------------------------------------------------------------------- +# ホスト設定 +# ----------------------------------------------------------------------------- +# 許可するホスト名 +# 開発環境: localhost +# 本番環境: 実際のドメイン名(例: labcode-web-app.com) +ALLOWED_HOST=localhost + +# ----------------------------------------------------------------------------- +# 機能フラグ(オプション) +# ----------------------------------------------------------------------------- +# 管理パネル機能の有効化 +VITE_FEATURE_ADMIN_PANEL=true + +# 実験実行機能の有効化 +VITE_FEATURE_EXPERIMENT_RUNNER=true