2025-11-07 11:50:17 +01:00
|
|
|
# LikeC4 Architecture Documentation - EDP Platform
|
|
|
|
|
|
|
|
|
|
This folder contains LikeC4 architecture models for the **Enterprise Developer Platform (EDP)**.
|
|
|
|
|
|
|
|
|
|
## Purpose
|
|
|
|
|
|
|
|
|
|
These models document the platform architecture, not the documentation system itself.
|
|
|
|
|
(For documentation platform architecture, see `resources/doc-likec4/`)
|
|
|
|
|
|
|
|
|
|
## Usage
|
feat(architecture): migrate LikeC4 models from edp-doc with Git history
Port the complete LikeC4 architecture documentation from the edp-doc
repository to this repository, establishing it as the primary source
for C4 architecture models.
Migration Details:
- Migrated all C4 models from edp-doc/docs/likec4 to resources/likec4/
- Preserved Git history using git filter-branch and git read-tree
- Includes 54 C4 source files covering deployment, components, and views
- Updated LikeC4 to v1.42.1 (from deprecated v0.40.0)
Directory Structure:
- resources/likec4/models/ - C4 model definitions (components, containers, context, code)
- resources/likec4/views/ - View definitions (deployment, EDP, high-level concepts, dynamic)
- resources/likec4/deployment/ - Deployment-specific models (KIND, OTC)
- resources/likec4/doc/ - Documentation and screenshots
Architecture Coverage:
- OTC FaaS deployment architecture
- EDP component and container models
- Developer landscape and workflows
- GitOps inner/outer loop processes
- Infrastructure components (ArgoCD, Forgejo, Keycloak, Crossplane, etc.)
Dependencies:
- likec4@1.42.1
- @likec4/cli@0.40.0
This migration makes the ipceicis-developerframework repository the
authoritative source for architecture documentation. The edp-doc
repository may reference these models via git submodule if needed.
Related: Migration from https://edp.buildth.ing/DevFW/edp-doc
2025-10-24 13:08:28 +02:00
|
|
|
|
|
|
|
|
Run `npx likec4 start` to start dev server
|
|
|
|
|
|
|
|
|
|
## with docker and how to render/export images
|
|
|
|
|
|
|
|
|
|
// how to create/export c4 images:
|
|
|
|
|
// see also https://likec4.dev/tooling/cli/
|
|
|
|
|
|
|
|
|
|
docker run -it --rm --name likec4 --user node -v $PWD:/app node bash
|
|
|
|
|
npm install likec4
|
|
|
|
|
exit
|
|
|
|
|
|
|
|
|
|
docker commit likec4 likec4
|
|
|
|
|
docker run -it --rm --user node -v $PWD:/app -p 5173:5173 likec4 bash
|
|
|
|
|
|
|
|
|
|
// as root
|
|
|
|
|
npx playwright install-deps
|
|
|
|
|
npx playwright install
|
|
|
|
|
|
|
|
|
|
npm install likec4
|
|
|
|
|
|
|
|
|
|
// render
|
|
|
|
|
node@e20899c8046f:/app/content/en/docs/project/onboarding$ ./node_modules/.bin/likec4 export png -o ./images .
|
|
|
|
|
|
|
|
|
|
## trouble shooting
|
|
|
|
|
|
|
|
|
|
when refactoring you might need to restart the languange server, just that it updates its internal model representation
|
|
|
|
|
In VSCode it is: `ctrl+Shift+P' + 'LikeC4: restart languange server`
|