.md
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
# Deployment Guide - AI Study Assistant
|
||||
|
||||
## 🚀 COMPLETE DEPLOYMENT STRATEGY
|
||||
> ⚠️ **ATUALIZADO**: Este documento foi corrigido para refletir a arquitetura REAL do projeto (Flutter + Firebase BaaS, sem backend Node.js).
|
||||
>
|
||||
> **O que mudou:**
|
||||
> - ❌ Removido: Node.js dependencies, Cloud Functions, backend server setup
|
||||
> - ✅ Atualizado: Flutter SDK ^3.11.5, Firebase BaaS only, Ollama LLM
|
||||
|
||||
## 🚀 DEPLOYMENT STRATEGY
|
||||
|
||||
---
|
||||
|
||||
## 📋 OVERVIEW
|
||||
|
||||
This comprehensive guide covers the complete deployment process for the AI Study Assistant project, including development, staging, and production environments, CI/CD pipelines, monitoring, and maintenance procedures.
|
||||
This guide covers the deployment process for the AI Study Assistant project. **Note:** This is a Flutter + Firebase BaaS (Backend-as-a-Service) architecture. There is no custom backend server - all business logic is in the Flutter app.
|
||||
|
||||
---
|
||||
|
||||
@@ -54,29 +60,25 @@ cd teachit
|
||||
# Install Flutter dependencies
|
||||
flutter pub get
|
||||
|
||||
# Install Node.js dependencies (for functions)
|
||||
cd functions
|
||||
npm install
|
||||
# Note: No Node.js backend to install
|
||||
# No Cloud Functions to set up
|
||||
|
||||
# Start Firebase emulators
|
||||
firebase emulators:start
|
||||
|
||||
# Run Flutter app
|
||||
# Run Flutter app (Firebase services connect directly)
|
||||
flutter run
|
||||
```
|
||||
|
||||
#### Development Firebase Project:
|
||||
- **Project ID**: `teachit-dev-12345`
|
||||
- **Services**: All services enabled in test mode
|
||||
- **Services**: Auth, Firestore, Storage, Analytics, Crashlytics
|
||||
- **Security Rules**: Relaxed for development
|
||||
- **Emulators**: Local Firestore, Auth, Storage, Functions
|
||||
- **Emulators**: Local Firestore, Auth, Storage (Functions not used)
|
||||
|
||||
#### Environment Variables:
|
||||
```bash
|
||||
# .env.development
|
||||
FIREBASE_PROJECT_ID=teachit-dev-12345
|
||||
FLUTTER_ENV=development
|
||||
API_BASE_URL=http://localhost:5001
|
||||
OLLAMA_BASE_URL=http://89.114.196.110:11434/api/chat
|
||||
ENABLE_LOGGING=true
|
||||
ENABLE_DEBUG=true
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user