Structa Cloud — Documentation
⭐ Start here: read Project awareness, then open the relevant architecture, product, or implementation guide.
⚡ New here? Start with Guides — numbered walkthroughs for setup, auth, development, deployment, and customization.
📚 Docus: this Markdown tree is the single authored source.
docs/content/is generated and ignored; build it withmake -C docs build.
Current Products
| Product | Canonical Path | Main Responsibility | Domain |
|---|---|---|---|
| Precis LMS | projects/precis/precis-main/ | Django/Wagtail learning platform: courses, enrollment, progress, profiles, content | structa.cloud |
| Landing-Fusion | projects/precis/precis-landing/ | Public marketing/catalog site; Astro frontend and Django/Wagtail backend | structa.cloud |
| Syntara (Cypercloud) | projects/syntara/ | AI chat, template discovery, code customization, streaming responses | — |
| Formint POS | projects/formints/ | Multi-edition restaurant POS: Community, Professional, Cloud, Client | — |
| django-fusion | libs/django-fusion/ | Shared Django/Wagtail components, routing, fragments, forms, tables | submodule |
| Infrastructure | application/ | PostgreSQL, Redis, Traefik/Nginx, Compose, deployment and MCP tooling | structa.cloud |
| Workspace tests | tests/ | Cross-project validation, fixtures, browser tests, deployment checks | — |
Documentation ownership
| Need | Canonical location |
|---|---|
| Recommended priorities and sequencing | recommendations.md |
| Engineering plans and implementation tasks | plans/ |
| Product decisions and architecture context | plans/ and the relevant product section |
| Document objects, attributes, tags, and links | guides/00-project-awareness.md |
| Current project, architecture, development, and deployment references | The topic/project sections below |
All new plans must be added under docs/plans/<scope>/ and linked from the canonical plan registry. The old docs/dev/plans/, docs/plans/migrated/, and project-local docs/superpowers/plans/ locations are no longer active authoring paths.
Repository Structure
structa.cloud/
├── projects/ # Product code, shared Django config, and assets
│ ├── precis/ # Product grouping: LMS, research, marketing
│ │ ├── precis-main/ # Precis LMS — learning platform
│ │ │ ├── backend/ # Django + Wagtail backend
│ │ │ ├── assets/ # Templates, static, SCSS, media
│ │ │ └── frontend/ # Astro frontend shell
│ │ ├── precis-landing/ # Landing-Fusion marketing/catalog site
│ │ │ ├── backend/ # Django + Wagtail backend
│ │ │ ├── frontend/ # Astro frontend
│ │ │ └── assets/ # Project assets
│ │ └── precis-ctc/ # Medical research center site
│ ├── syntara/ # Cypercloud AI chat/customizer runtime
│ ├── formints/ # Multi-edition POS platform
│ │ ├── formint-community/ # Community (Tauri + React + Rust)
│ │ ├── formint-pro/ # Professional (Astro + Django + Tauri)
│ │ ├── formint-cloud/ # Cloud master (Django + Channels)
│ │ ├── formint-standard/ # Standard edition (Astro + Tauri)
│ │ ├── formint-client/ # POS Client (Tauri + Vue 3)
│ │ ├── tests/ # Shared POS tests
│ │ └── docs/ # POS architecture docs
│ ├── configs/ # Shared Django settings and workers
│ ├── assets/ # Monorepo-level shared assets
│ ├── scripts/ # Project-local automation
│ ├── Makefile # Canonical project dispatcher
│ └── pyproject.toml # Python workspace dependencies
├── libs/ # Reusable libraries
│ └── django-fusion/ # Shared Django/Wagtail components (submodule)
├── application/ # Databases, proxy, Compose, scripts, Kilo/MCP
│ ├── proxy/ # Traefik reverse proxy configs
│ ├── databases/ # PostgreSQL + Redis compose
│ ├── agents/ # Kilo MCP server
│ ├── templates/ # Coder/Terraform templates
│ └── scripts/ # Automation scripts
├── tests/ # Workspace integration, HTTP, browser, fixtures
├── docs/ # This documentation project
│ ├── assets/ # Screenshots, previews, diagrams
│ │ ├── screenshots/formints/ # Formint admin + frontend screenshots
│ │ └── previews/formints/ # Formint product preview images
│ ├── guides/ # Step-by-step numbered walkthroughs
│ ├── plans/ # Single active plan registry + legacy archive
│ ├── precis/ loop-crm/ syntara/ pos/ precis-ctc/ # Per-product references
│ ├── libs/ # Shared library docs (django-fusion)
│ ├── startup/ # Private market strategy per product
│ ├── ai/ # Agents, prompts, MCP
│ └── dev/ # Infrastructure, databases, customization
├── .agents/ # AI agent skills and configuration
│ ├── skills/ # Reusable skill definitions (21 skills)
│ └── kiro/settings/ # MCP server configuration
├── .github/ # CI workflows and composite actions
├── Makefile # Root deployment and delegation entry point
└── pyproject.toml # Root Python/tooling configuration
Quick Links
- 🧭 Project awareness and computation guide
- ⭐ Recommendations first
- 🛠️ Project Setup & Build Guides — per-project setup/build indexes
- 📚 Guides — step-by-step tutorials
- 🗺️ Reference map — every docs dir/subdir, its owning project, and what each file references
- 🛠️ Commands & delegation — unified verb naming, delegation chain, and the deploy cascade
- 🗺️ Canonical plans — all active plans and historical evidence
- 🔄 Recent Changes
- 🎯 Features Index — capabilities by project
- 🏗️ Infrastructure & Deployment
- 🗄️ Databases
- 🧪 Testing
- 🏛️ Architecture — request lifecycle, components, tasks, MCP, Docus
- 🏗️ Infrastructure & Deployment — proxy, workers, troubleshooting
- 📐 Customization — methods and design system
- 📦 Publishing — marketplace & distribution
- 🤖 AI & Agents — agent instructions, prompts, and skills
- ✍️ Documentation authoring prompt — the powerful doc-generation prompt (emoji, diagrams, ERD, previews, EN/AR)
- 🚀 Startup & Market Strategy — 🔒 private: MVP canvas, TAM/SAM/SOM, ideal clients per product; full portfolio master
- 📚 Docus implementation — source generation, metadata, locales, build, and deployment
Project Documentation
| Product | Directory | Key Docs |
|---|---|---|
| Precis (LMS + landing) | precis/ | Architecture, Configuration, Courses, Landing (frontend/API/deployment) |
| CTC Research | precis-ctc/ | Content strategy, Publishing & production |
| Syntara (Cypercloud) | syntara/ | Configuration, Features, Infrastructure |
| Loop-CRM | loop-crm/ | Design system, Setup & build |
| Formint POS | pos/ | Editions, Backend (Rust), Sidecar, Cloud edition |
| django-fusion | libs/ | Package guide, Where & how used, Component system |
| Shared Config | dev/back-env/ | Settings reference, Environment variables |
| Startup strategy 🔒 | startup/ | MVP canvas, TAM/SAM/SOM, SaaS services, ideal clients, research |
Canonical source and Docus
docs/**/*.md and docs/**/*.mdx are authored documentation. The Docus app
lives at the root of docs/ and runs scripts/prepare-content.mjs to
generate the ignored English content tree and copy the authored Arabic
translations. There is one content source, one set of links, and one
validation path; generated files are not edited or committed.
Use object, attributes, tags, and links frontmatter for new documents.
The preparation script adds the same graph metadata to legacy pages that do not
yet define it. See Project awareness.
Related
../AGENTS.md— repository-wide AI agent instructionsrecommendations.md— recommended prioritiesplans/README.md— canonical plan registryplans/document-lifecycle.md— archive/delete policy
Remarks & Notes
docs/**/*.mdanddocs/**/*.mdxare the only authored documentation sources.docs/content/is disposable generated output; never edit it or add a second copy there.- New pages should carry
object,attributes,tags, and Docus-nativelinksmetadata. - Prefer one canonical page plus links to it over repeated product explanations.
Structa Cloud Docus application
This directory contains the Nuxt/Docus application that serves the authored
repository documentation. The canonical reader-facing implementation guide is
../guides/09-docus.md; keep operational detail there
instead of maintaining a second documentation copy in this package README.
Local development
cd docs
npm install
npm run prepare-content
npm run validate-content
npm run dev
Open http://localhost:3000/docs/en/. The application also exposes the Arabic
locale at /docs/ar/ and uses /docs/ as its configured base path.
Build and preview
npm run build
npm run build:static
npm run preview
prepare-content.mjs generates the ignored content/en/ and content/ar/
trees before development and build. Do not edit or commit content/, .nuxt/,
.output/, dist/, or node_modules/.
Deployment
The production image is built from docs/Dockerfile, runs the Docus Nuxt SSR
server on docus:3000, and is routed by the shared proxy. See the canonical
Docus implementation guide for the proxy contract,
metadata model, validation commands, and source-of-truth rules.
Remarks & Notes
- This README describes the application package;
docs/guides/09-docus.mdis the single published Docus guide. - A Docus build does not validate product backend health; run the owning project checks separately.