Skip to content

Commit b764ef9

Browse files
committed
docs: structurizr first step
1 parent 299de1f commit b764ef9

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

runStructurizr.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
docker pull structurizr/lite
2+
docker run -it --rm -p 8080:8080 -v ~/git/AngularAndSpringWithMaps/structurizr:/usr/local/structurizr structurizr/lite

structurizr/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/workspace.json
2+
.structurizr/

structurizr/workspace.dsl

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
workspace {
2+
3+
model {
4+
user = person "User"
5+
softwareSystem = softwareSystem "Software System"
6+
7+
user -> softwareSystem "Uses"
8+
}
9+
10+
views {
11+
systemContext softwareSystem "Diagram1" {
12+
include *
13+
autoLayout
14+
}
15+
}
16+
17+
}

0 commit comments

Comments
 (0)