Remove obsolete migration and workflow files; delete Site Builder Wizard references and related components. Update documentation to reflect the removal of the WorkflowState model and streamline the site building process.

This commit is contained in:
IGNY8 VPS (Salman)
2025-11-21 00:59:34 +00:00
parent 6bb918bad6
commit c8adfe06d1
23 changed files with 1914 additions and 3493 deletions

View File

@@ -1,6 +1,6 @@
# IGNY8 Technology Stack & Infrastructure
**Last Updated:** 2025-01-XX
**Last Updated:** 2025-01-XX (Added Sites Renderer container, updated module count, fixed React Router versions)
**Purpose:** Complete technology stack, infrastructure setup, Docker deployment, and fresh installation guide for the IGNY8 platform.
---
@@ -32,7 +32,7 @@
- **Deployment**: Docker-based containerization
- **Reverse Proxy**: Caddy (HTTPS termination)
- **AI Functions**: 5 primary AI operations
- **Modules**: 5 core modules (Planner, Writer, Thinker, System, Billing)
- **Modules**: 10 backend modules (Planner, Writer, System, Billing, Automation, Integration, Linker, Optimizer, Publisher, Site Builder)
---
@@ -68,7 +68,8 @@
| **Build Tool** | Vite | 6.1.0 | Build tool & dev server |
| **Styling** | Tailwind CSS | 4.0.8 | Utility-first CSS |
| **State Management** | Zustand | 5.0.8 | Lightweight state |
| **Routing** | React Router | v7.9.5 | Client-side routing |
| **Routing** | react-router | ^7.1.5 | Core routing library |
| **Routing** | react-router-dom | ^7.9.5 | DOM bindings for React Router |
| **HTTP Client** | Fetch API | Native | API communication |
| **SEO** | react-helmet-async | 2.0.5 | Dynamic head management |
@@ -304,12 +305,17 @@
**Principle**: Clear module boundaries with shared utilities.
**Modules**:
**Backend Modules**:
- **Planner**: Keywords, Clusters, Ideas
- **Writer**: Tasks, Content, Images
- **Thinker**: Prompts, Author Profiles, Strategies, Image Testing
- **System**: Settings, Integrations, AI Configuration
- **Billing**: Credits, Transactions, Usage
- **Automation**: Automation workflows
- **Integration**: External integrations
- **Linker**: Internal linking
- **Optimizer**: Content optimization
- **Publisher**: Publishing workflows
- **Site Builder**: Site blueprint management
- **Auth**: Accounts, Users, Sites, Sectors
---
@@ -341,6 +347,7 @@ The system uses a two-stack Docker architecture:
| **Backend** | `igny8_backend` | 8011:8010 | Django REST API |
| **Frontend** | `igny8_frontend` | 8021:5173 | React application (main app) |
| **Marketing Dev** | `igny8_marketing_dev` | 8023:5174 | Marketing site (dev server) |
| **Sites Renderer** | `igny8_sites` | 8024:5176 | Serves deployed public sites (sites.igny8.com) |
| **Celery Worker** | `igny8_celery_worker` | - | Async task processing |
| **Celery Beat** | `igny8_celery_beat` | - | Scheduled tasks |
@@ -376,6 +383,7 @@ The system uses a two-stack Docker architecture:
| **Backend** | 8011 | 8010 | http://localhost:8011 |
| **Frontend** | 8021 | 5173 | http://localhost:8021 |
| **Marketing Dev** | 8023 | 5174 | http://localhost:8023 |
| **Sites Renderer** | 8024 | 5176 | http://localhost:8024 |
---
@@ -809,6 +817,18 @@ docker images | grep igny8-frontend
docker images | grep igny8-marketing
```
#### 7.3 Build Sites Renderer Image
```bash
cd /data/app/igny8/sites
# Build sites renderer dev image
docker build -t igny8-sites-dev:latest -f Dockerfile.dev .
# Verify image
docker images | grep igny8-sites
```
**Note**: For production, also build production images:
```bash
# Production frontend image
@@ -857,6 +877,7 @@ VITE_BACKEND_URL=https://api.igny8.com/api
**Edit Caddyfile** for domain routing:
- `igny8.com` → Marketing site
- `app.igny8.com` → Main application
- `sites.igny8.com` → Sites renderer (deployed public sites)
- `api.igny8.com` → Backend API
---
@@ -960,9 +981,10 @@ docker compose -f docker-compose.app.yml -p igny8-app ps
1. **Marketing Site**: `https://igny8.com` (or `http://your-ip:8023` for dev)
2. **Main App**: `https://app.igny8.com` (or `http://your-ip:8021` for dev)
3. **Backend API**: `https://api.igny8.com/api/v1/system/status/`
4. **Portainer**: `http://your-ip:9000`
5. **pgAdmin**: `http://your-ip:5050`
3. **Sites Renderer**: `https://sites.igny8.com` (or `http://your-ip:8024` for dev)
4. **Backend API**: `https://api.igny8.com/api/v1/system/status/`
5. **Portainer**: `http://your-ip:9000`
6. **pgAdmin**: `http://your-ip:5050`
#### 12.3 Check Logs
@@ -976,6 +998,9 @@ docker logs igny8_frontend
# Marketing logs
docker logs igny8_marketing_dev
# Sites renderer logs
docker logs igny8_sites
# Check for errors
docker logs igny8_backend 2>&1 | grep -i error
```
@@ -1094,6 +1119,8 @@ git pull
# Rebuild images
docker build -t igny8-backend:latest -f backend/Dockerfile ./backend
docker build -t igny8-frontend-dev:latest -f frontend/Dockerfile.dev ./frontend
docker build -t igny8-marketing-dev:latest -f frontend/Dockerfile.marketing.dev ./frontend
docker build -t igny8-sites-dev:latest -f sites/Dockerfile.dev ./sites
# Restart services
docker compose -f docker-compose.app.yml -p igny8-app up -d