This commit is contained in:
alorig
2025-11-18 21:22:44 +05:00
parent d600249788
commit f48bb54607
2 changed files with 75 additions and 2 deletions

View File

@@ -74,8 +74,19 @@ This audit identifies all requirements, dependencies, and gaps for the Site Buil
**Fix Required**:
```bash
# Inside backend container or with access to database
python manage.py migrate site_building
# Step 1: Navigate to app directory
cd /data/app/igny8
# Step 2: Create migrations if model changes exist
docker compose -f docker-compose.app.yml -p igny8-app exec igny8_backend python manage.py makemigrations site_building
# Step 3: Apply migrations
docker compose -f docker-compose.app.yml -p igny8-app exec igny8_backend python manage.py migrate site_building
# Alternative: If backend is in infra stack, use:
# cd /data/app
# docker compose -f docker-compose.yml -p igny8-infra exec <backend_container_name> python manage.py makemigrations site_building
# docker compose -f docker-compose.yml -p igny8-infra exec <backend_container_name> python manage.py migrate site_building
```
**Files Affected**:
@@ -115,11 +126,20 @@ python manage.py migrate site_building
**Fix Required**:
```bash
# Navigate to app directory
cd /data/app/igny8
# Start Celery worker
docker compose -f docker-compose.app.yml -p igny8-app up -d igny8_celery_worker
# Verify it's running
docker compose -f docker-compose.app.yml -p igny8-app ps igny8_celery_worker
```
**Container Configuration**: `docker-compose.app.yml:105-128`
**Note**: If backend is in infra stack, Celery worker may also be there. Check which stack contains the backend service.
---
### 🟡 **WARNING - Celery Beat Not Running**
@@ -129,7 +149,14 @@ docker compose -f docker-compose.app.yml -p igny8-app up -d igny8_celery_worker
**Fix Required**:
```bash
# Navigate to app directory
cd /data/app/igny8
# Start Celery beat
docker compose -f docker-compose.app.yml -p igny8-app up -d igny8_celery_beat
# Verify it's running
docker compose -f docker-compose.app.yml -p igny8-app ps igny8_celery_beat
```
---