Skip to content

Commit fc2c30d

Browse files
author
Gib hier deinen Namen ein
committed
Workflow pipeline + bundle builder + docs consolidation
1 parent 245c55c commit fc2c30d

197 files changed

Lines changed: 24662 additions & 203 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 50 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,30 @@
1-
<<<<<<< ours
21
# Build artifacts
32
build/
4-
*.vcxproj.user
5-
*.sln.docstates
6-
*.suo
7-
*.user
8-
*.userosscache
9-
*.sln.docstates
10-
11-
# Compiled binaries
3+
dist/
4+
out/
125
*.dll
6+
*.so
7+
*.dylib
138
*.lib
149
*.exe
1510
*.obj
1611
*.pdb
1712
*.ilk
1813
*.exp
14+
*.map
15+
*.binlog
16+
*.tlog
17+
*.ipch
18+
*.aps
19+
*.ncb
20+
*.opendb
21+
*.opensdf
22+
*.sdf
23+
*.suo
24+
*.user
25+
*.userosscache
26+
*.vcxproj.user
27+
*.sln.docstates
1928

2029
# CMake
2130
CMakeCache.txt
@@ -25,94 +34,71 @@ cmake_install.cmake
2534

2635
# Visual Studio
2736
.vs/
28-
*.aps
29-
*.ncb
30-
*.opendb
31-
*.opensdf
32-
*.sdf
33-
*.tlb
34-
*.tlh
35-
*.bak
36-
*.cache
37-
*.ilk
38-
*.log
39-
*.lib
40-
*.sbr
41-
*.tlb
42-
*.tlh
43-
*.tmp
44-
*.tmp_proj
45-
*.user
46-
*.vspscc
47-
*.vssscc
48-
.builds
49-
*.pidb
50-
*.svclog
51-
*.scc
37+
.builds/
5238

53-
# Qt
39+
# Qt (generated)
5440
moc_*.cpp
5541
moc_*.h
5642
qrc_*.cpp
5743
ui_*.h
5844
*.moc
5945

60-
# Temporary files
61-
*.tmp
62-
*.temp
63-
*~
64-
.DS_Store
65-
Thumbs.db
66-
67-
# IDE
68-
.idea/
69-
.vscode/
70-
*.swp
71-
*.swo
72-
73-
# Documentation builds
74-
docs/_build/
75-
docs/.doctrees/
76-
=======
7746
# Python
7847
__pycache__/
7948
*.py[cod]
8049
*$py.class
81-
*.so
8250
.Python
8351
env/
8452
venv/
8553
ENV/
86-
.venv
54+
.venv/
55+
.pytest_cache/
8756

8857
# IDE
8958
.vscode/
9059
.idea/
9160
*.swp
9261
*.swo
9362

94-
# Docker
63+
# Docker / runtime logs
9564
*.log
9665

97-
# MinIO/Storage
66+
# MinIO/Storage/cache (local)
9867
data/
9968
cache/
69+
.local_artifacts/
10070

101-
# Environment
71+
# Environment (never commit secrets)
10272
.env
10373
.env.local
10474

105-
# Cursor workspace / local-only scratch
106-
.cursor/.env
107-
.cursor/chroma_db/
108-
.cursor/__pycache__/
109-
.cursor/backend_*.log
110-
.cursor/gamma_scribus_pack/plugin/cpp/
111-
>>>>>>> theirs
75+
# Local-only workspace / scratch
76+
.cursor/
77+
temp_analysis/
78+
backups/
79+
media_pool/
80+
assets/
81+
screenshots/
82+
scribus/
83+
84+
# Local archive (kept out of GitHub)
85+
docs/archive/
86+
87+
# Large binary assets (keep out of GitHub by default)
88+
*.zip
89+
*.sla
90+
*.pdf
91+
*.pptx
92+
*.png
93+
*.jpg
94+
*.jpeg
95+
*.tif
96+
*.tiff
11297

11398
# Nested repos / scratch (avoid accidental submodules)
114-
temp_analysis/
11599
gamma_scribus_pack/plugin/cpp/github_version/
100+
apps/api_gateway/
101+
addon_bundle/
116102

117103
# OS
118104
.DS_Store

INSTALLATION.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Installation
2+
3+
Diese Anleitung beschreibt die Installation des Gamma Dashboard Plugins (Scribus) und des Backends (Docker).
4+
5+
## Voraussetzungen
6+
- Windows 10/11 (für Plugin-Build), oder nur Backend via Docker
7+
- Docker Desktop (inkl. Compose)
8+
- Scribus 1.7.x (für das Plugin)
9+
10+
## Backend (empfohlen)
11+
```powershell
12+
cd docker
13+
docker compose up -d --build
14+
```
15+
16+
Checks:
17+
- API Gateway: `http://localhost:8003/health`
18+
19+
## Plugin (Windows / VS2022)
20+
Für Build, Installation und Troubleshooting:
21+
- `gamma_scribus_pack/plugin/cpp/SCRIBUS_PLUGIN_COOKBOOK.md`
22+
23+
## Workflow (Bundle → Run)
24+
1. Bundle bauen:
25+
```powershell
26+
pwsh tools/build_workflow_bundle.ps1 -Out temp_analysis/workflow_bundle.zip
27+
```
28+
2. Workflow starten:
29+
```powershell
30+
curl -F "bundle=@temp_analysis/workflow_bundle.zip" -F "options_json={\"gamma_sync\":true,\"gamma_attach_to_variants\":true}" http://localhost:8003/v1/workflow/run
31+
```
32+
33+
Weitere Details:
34+
- `docs/workflow/MAGAZIN_WORKFLOW_IMPLEMENTATION_PLAN.md`
35+

PROJECT_STRUCTURE.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Projektstruktur (Kurzüberblick)
2+
3+
Kanonische Struktur für GitHub (Code + kuratierte Docs; keine Assets/Secrets).
4+
5+
```
6+
scribus-gamma-dashboard-plugin/
7+
├── README.md
8+
├── LICENSE
9+
├── INSTALLATION.md
10+
├── PROJECT_STRUCTURE.md
11+
├── requirements.txt
12+
├── requirements-dev.txt
13+
├── docker/ # docker compose + Dockerfiles
14+
├── apps/ # API-Gateway + Worker
15+
├── packages/ # shared libs (workflow, rag, figma, …)
16+
├── gamma_scribus_pack/
17+
│ └── plugin/cpp/ # C++/Qt Plugin (inkl. Cookbook)
18+
├── docs/
19+
│ ├── workflow/ # Magazin-Workflow Dokumente (kanonisch)
20+
│ └── ... # weitere kuratierte Dossiers
21+
├── strategy/ # Strategie-Dokumente (RAG/Figma/Layout)
22+
├── tools/ # Dev-Tools (Bundle-Builder etc.)
23+
└── tests/ # Tests (falls vorhanden)
24+
```
25+
26+
Hinweis: Lokale Daten/Assets sind bewusst per `.gitignore` ausgeschlossen (`.env`, `.cursor/`, `media_pool/`, `assets/`, `*.pptx`, `*.png`, …).
27+

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
# Scribus Gamma Dashboard Plugin
22

3-
Native C++/Qt Plugin für Scribus (Gamma Dashboard) plus ein zugehöriges, selbst entwickeltes Backend (Docker: API‑Gateway, Sidecar, Worker).
4-
5-
## Inhalt
3+
Native C++/Qt Plugin für Scribus (Gamma Dashboard) plus zugehöriges Backend (Docker: API-Gateway, Sidecar, Worker).
64

5+
## Struktur
76
- Plugin (C++/Qt): `gamma_scribus_pack/plugin/cpp/`
8-
- Plugin (Python‑Teil): `gamma_scribus_pack/plugin/gamma_dashboard/`
9-
- Backend (Docker + Services): `docker/`, `apps/`, `packages/`, `mvp/`
10-
- Strategie (RAG für Figma/Layout): `strategy/RAG_FIGMA_LAYOUT_STRATEGY.md`
7+
- Backend (Docker + Services): `docker/`, `apps/`, `packages/`
8+
- Workflow-Dokumente: `docs/workflow/`
9+
- RAG/Figma Strategie: `strategy/RAG_FIGMA_LAYOUT_STRATEGY.md`
1110

1211
## Quick Start (Backend)
13-
1412
```powershell
1513
cd docker
1614
docker compose up -d --build
1715
```
18-
1916
- API Gateway Health: `http://localhost:8003/health`
20-
- Sidecar Health: `http://localhost:8004/health`
2117

22-
## Plugin Build (Windows / VS2022)
18+
## Workflow Quick Start
19+
```powershell
20+
pwsh tools/build_workflow_bundle.ps1 -Out temp_analysis/workflow_bundle.zip
21+
curl -F "bundle=@temp_analysis/workflow_bundle.zip" -F "options_json={\"gamma_sync\":true,\"gamma_attach_to_variants\":true}" http://localhost:8003/v1/workflow/run
22+
```
2323

24+
## Plugin Build (Windows / VS2022)
2425
Siehe: `gamma_scribus_pack/plugin/cpp/SCRIBUS_PLUGIN_COOKBOOK.md`
2526

apps/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"""Apps package.
2+
3+
This repository keeps app implementations in directories like `apps/api-gateway/`
4+
which are not importable as Python packages due to the hyphen in the name.
5+
For tests and local tooling, we provide import-friendly wrappers under `apps/*_*/`.
6+
"""
7+

0 commit comments

Comments
 (0)