AOSSIE-Org / AOSSIE-Org/EduAid

[FEATURE]: Deployment Strategy Discussion

Aperta
#528 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
JavaScript
Stelle
171
Fork
423
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.