A template to help quickstart when modeling systems with https://c4model.com/ and https://structurizr.com/
- Script to easily start a local server
- Defaults in
structurizr.propertiesto auto refresh the browser whenworkspace.dslis updated .gitignoredefaults for the structurizr generated files
Check the latest version at https://github.com/DavidBurela/c4-repository-template
- VS Code: Syntax highlighting
https://marketplace.visualstudio.com/items?itemName=ciarant.vscode-structurizr
- Copy the contents of
workspace.dsl - Go to https://structurizr.com/dsl
- Paste it into the window and click render.
This allows you to continuously edit, save the file, and see the rendered model auto refresh.
- Run docker
- From within the c4model folder, run
./start-structurizr.sh - Browse to: http://localhost:8080/