Skip to content

Commit c8cf33f

Browse files
GitHub Copilot CLICopilot
andcommitted
🛠️ Fix interactive setup blocking DevContainer startup
⚡ 修正内容: - onCreateCommand からインタラクティブスクリプト削除 - DevContainer起動時の無限待機問題解決 - 手動実行方式に変更 (.devcontainer/interactive-setup.sh) - postAttachCommand でセットアップ手順案内追加 📋 使用方法: 1. DevContainer起動完了後 2. ターミナルで ./.devcontainer/interactive-setup.sh 実行 3. 対話式プロジェクト設定開始 ✅ DevContainer スムーズ起動対応完了 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0ffa3ad commit c8cf33f

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,8 @@
6969
},
7070
"postCreateCommand": ".devcontainer/setup.sh",
7171
"postStartCommand": ".devcontainer/startup.sh",
72-
"onCreateCommand": {
73-
"interactive-setup": ".devcontainer/interactive-setup.sh"
74-
},
7572
"postAttachCommand": {
76-
"welcome": "echo '🚀 OpenCode ECC DevContainer へようこそ!' && echo '📍 プロジェクト: '$(grep PROJECT_NAME .env 2>/dev/null | cut -d= -f2 | tr -d '\"' || echo 'セットアップ待ち') && echo '🎨 OpenChamber: http://localhost:3000' && echo '🤖 OpenCode CLI: http://localhost:4095'"
73+
"welcome": "echo '🚀 OpenCode ECC DevContainer へようこそ!' && echo '' && echo '📋 次のステップ:' && echo ' 1️⃣ .env.template を .env にコピー' && echo ' 2️⃣ 必要に応じて .env を編集' && echo ' 3️⃣ 初回プロジェクト設定: ./.devcontainer/interactive-setup.sh' && echo '' && echo '🎨 サービスURL:' && echo ' 📍 OpenChamber: http://localhost:3000' && echo ' 🤖 OpenCode CLI: http://localhost:4095' && echo ' 📊 ダッシュボード: http://localhost:8080'"
7774
},
7875
"remoteUser": "vscode",
7976
"mounts": [

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,24 @@ code .
5555

5656
### **対話式プロジェクト初期化**
5757

58-
初回起動時、自動的に対話式セットアップが開始されます
58+
DevContainer起動後、ターミナルで対話式セットアップを実行してください
5959

60+
```bash
61+
# 🎯 対話式プロジェクト初期化実行
62+
./.devcontainer/interactive-setup.sh
63+
64+
# または
65+
bash .devcontainer/interactive-setup.sh
66+
```
67+
68+
**セットアップフロー**:
6069
```bash
6170
# 🎯 プロジェクト情報入力
6271
プロジェクト名: my-ai-assistant
6372
説明: AIアシスタント開発プロジェクト
6473
作者名: Developer
6574

66-
# 🔐 セキュリティ設定
75+
# 🔐 セキュリティ設定(オプション)
6776
Tailscale Auth Key: tskey-auth-xxxxxxxxxx
6877
ホスト名: my-ai-assistant-dev
6978

0 commit comments

Comments
 (0)