GitHub Actions commited on
Commit
1cd5f28
·
1 Parent(s): 553ce6a

🚀 Auto-deploy from GitHub Actions

Browse files

Deployed from: bpmbox/AUTOCREATE
Commit: e78e8023bd0675b0c9f42c3cc70930e1b8a73ad7
Branch: main
Workflow: 🚀 Deploy to Hugging Face Space

Updated files:
- System workflow analysis notebook
- Core Python modules
- Controllers and routers
- Documentation and configs

Files changed (1) hide show
  1. README.md +157 -0
README.md CHANGED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # AUTOCREATE Project - AI統合開発環境
2
+
3
+ ![Status](https://img.shields.io/badge/Status-Production%20Ready-green)
4
+ ![Files](https://img.shields.io/badge/Tracked%20Files-13,469-blue)
5
+ ![Reduction](https://img.shields.io/badge/File%20Reduction-53.5%25-success)
6
+
7
+ ## 🎯 プロジェクト概要
8
+
9
+ 大規模プロジェクトの整理・クリーンアップと、AI自動化基盤の統合開発環境を構築しました。
10
+
11
+ ### ✅ 主要な成果
12
+ - **9Kファイル問題完全解決**: 28,982 → 13,469ファイル (53.5%削減)
13
+ - **AI統合環境構築**: Dify + n8n + Supabase + ProcessMaker
14
+ - **DevContainer対応**: VNC + Docker-in-Docker開発環境
15
+ - **外部公開対応**: ngrok統合による即座のデモ・共有
16
+ - **運用効率化**: Artisanコマンド短縮・統一
17
+
18
+ ## 🚀 クイックスタート
19
+
20
+ ### AI統合環境の起動
21
+ ```bash
22
+ # フル統合環境起動
23
+ docker-compose -f docker-compose-ai-workflow.yml up -d
24
+
25
+ # 外部公開付きで起動
26
+ .\start-with-ngrok.bat
27
+
28
+ # サービス状態確認
29
+ docker ps
30
+ ```
31
+
32
+ ### 開発環境
33
+ ```bash
34
+ # FastAPI開発サーバー
35
+ .\artisan.bat fastapi:start
36
+ # または短縮版
37
+ .\art.bat fastapi:start
38
+
39
+ # Gradio UI起動
40
+ .\art.bat gradio:list
41
+
42
+ # ルート確認
43
+ .\art.bat route:active
44
+ ```
45
+
46
+ ### DevContainer (推奨)
47
+ 1. VSCodeで開く
48
+ 2. `Ctrl+Shift+P` → "Dev Containers: Reopen in Container"
49
+ 3. 自動でVNC + 開発環境が起動
50
+
51
+ ## 📁 プロジェクト構造
52
+
53
+ ```
54
+ AUTOCREATE-work/
55
+ ├── 🐳 docker-compose-ai-workflow.yml # AI統合環境
56
+ ├── 📦 .devcontainer/ # DevContainer設定
57
+ ├── ⚙️ config/ # 設定ファイル
58
+ ├── 🎛️ controllers/ # Gradioコントローラー
59
+ ├── 📊 database/ # DB関連
60
+ ├── 📚 docs/ # ドキュメント
61
+ ├── 🏗️ projects/ # アクティブプロジェクト
62
+ ├── 🌐 web_projects/ # Webプロジェクト
63
+ ├── 🛠️ scripts/ # 運用スクリプト
64
+ ├── 📝 app/ # アプリケーション
65
+ ├── 🛣️ routes/ # ルーティング
66
+ └── 📋 README.md # このファイル
67
+ ```
68
+
69
+ ## 🔧 利用可能なサービス
70
+
71
+ | サービス | ポート | 用途 | URL |
72
+ |---------|--------|------|-----|
73
+ | Dify Web | 3000 | AI Workflow UI | http://localhost:3000 |
74
+ | Dify API | 5001 | AI API | http://localhost:5001 |
75
+ | n8n | 5678 | Automation | http://localhost:5678 |
76
+ | Supabase | 3001 | Database Studio | http://localhost:3001 |
77
+ | ProcessMaker | 8080 | BPM | http://localhost:8080 |
78
+ | Portainer | 9000 | Docker管理 | http://localhost:9000 |
79
+ | FastAPI | 8000 | 開発API | http://localhost:8000 |
80
+ | VNC | 6080 | デスクトップ | http://localhost:6080 |
81
+
82
+ ## 📖 詳細ドキュメント
83
+
84
+ - [📋 AI統合環境ガイド](README-AI-Workflow.md)
85
+ - [🐳 Docker/VNC環境ガイド](README-Docker-VNC.md)
86
+ - [🌐 外部公開ガイド](README-ngrok-integration.md)
87
+ - [✅ プロジェクト完了レポート](docs/PROJECT_CLEANUP_COMPLETE.md)
88
+ - [🔍 DevContainer vs Compose分析](docs/devcontainer-vs-compose-analysis.md)
89
+
90
+ ## 🛠️ Artisanコマンド
91
+
92
+ ```bash
93
+ # サーバー管理
94
+ art fastapi:start # FastAPIサーバー起動
95
+ art route:active # アクティブルート確認
96
+
97
+ # テスト・検証
98
+ art test:copilot # Copilotテスト実行
99
+ art gradio:list # Gradio機能一覧
100
+
101
+ # CI/CD
102
+ art cicd full # CI/CDパイプライン実行
103
+
104
+ # データベース
105
+ art database:migrate # DB マイグレーション
106
+ art database:seed # テストデータ投入
107
+ ```
108
+
109
+ ## 🎨 VSCodeタスク
110
+
111
+ - `Ctrl+Shift+P` → "Tasks: Run Task" で利用可能:
112
+ - 🚀 Artisan: FastAPIサーバー起動
113
+ - 🛣️ Artisan: ルート確認
114
+ - 🎨 Artisan: Gradio機能一覧
115
+ - 🧪 Artisan: Copilotテスト
116
+ - 🐳 Docker: Portainer起動
117
+ - 🖥️ VNC: Desktop Environment 起動
118
+
119
+ ## 🤝 トラブルシューティング
120
+
121
+ ### ポート競合
122
+ ```bash
123
+ # 使用中ポートの確認
124
+ netstat -ano | findstr :8000
125
+
126
+ # Docker コンテナの停止
127
+ docker-compose -f docker-compose-ai-workflow.yml down
128
+ ```
129
+
130
+ ### VNC接続できない
131
+ ```bash
132
+ # VNC環境の再起動
133
+ .\stop-vnc.bat
134
+ .\start-vnc.bat
135
+
136
+ # またはDocker Compose版
137
+ docker-compose -f docker-compose-vnc-enhanced.yml restart
138
+ ```
139
+
140
+ ### Git操作が重い
141
+ 現在13,469ファイル追跡中(削減済み)。さらなる最適化が必要な場合:
142
+ ```bash
143
+ git status --porcelain | wc -l # 現在の状況確認
144
+ ```
145
+
146
+ ## 📞 サポート
147
+
148
+ 問題が発生した場合:
149
+ 1. [プロジェクト完了レポート](docs/PROJECT_CLEANUP_COMPLETE.md)を確認
150
+ 2. 各種READMEファイルの該当セクションを参照
151
+ 3. VSCodeタスクから診断・修復コマンドを実行
152
+
153
+ ---
154
+
155
+ **🎉 9Kフ��イル問題完全解決済み & AI統合環境構築完了**
156
+
157
+ *最終更新: 2025/07/08 - プロジェクトクリーンアップ完了*