AOSSIE-Org / AOSSIE-Org/EduAid

[FEATURE]: Deployment Strategy Discussion

未關閉
#528 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
JavaScript
星號
171
分支
423
PR 合併指標
30 天內沒有已合併 PR

描述

### Feature and its Use Cases

Hi @yatikakain @Aditya062003 ,

I noticed that the project currently does not have an automated deployment setup.
All components (backend, web app, extension, desktop) appear to require manual local setup.

I wanted to get guidance on the preferred approach.

- Should we use **GitHub Actions** for automated build and deployment workflows?
- Docker Suggestion (For Development)

I was thinking Docker could be useful mainly for **standardizing the development environment** and ensuring the backend server starts consistently across systems.

Docker Benefits for EduAid:
1. Solves Dependency Hell
``` bash
# Current: 34 Python packages + Node.js + System deps
# Docker: One container, all dependencies locked
```
2. Handles Large Models Perfectly
Model Caching: Docker layers cache ML models
Consistent Environment: Same PyTorch/CUDA versions
Storage Management: Persistent volumes for models
3. Multi-Service Architecture
```yaml
services:
backend: # Flask + ML models
web-app: # React frontend
nginx: # Reverse proxy
redis: # Optional caching
```
4. Deployment Scenarios
Development:
```bash
docker-compose up
vs
# Current: 30+ manual setup steps
```

### Additional Context

_No response_

### Code of Conduct

- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。