Skip to content

Commit

Permalink
Update and rename plantStructC4.adoc to plantuml-c4-structurizr.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
khazelton authored May 26, 2021
1 parent d921f10 commit 0fed619
Showing 1 changed file with 39 additions and 2 deletions.
41 changes: 39 additions & 2 deletions plantStructC4.adoc → plantuml-c4-structurizr.adoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,45 @@
== plantStructC4.adoc
== plantuml-c4-structurizr.adoc

=== Diagramming IAM with PlantUML, Structurizr, Dot, and C4 models

==== Start simple
=== Plantuml, Structurizr How-to on Mac

*brew install structurizr-cli*

```
brew install structurizr-cli
```

*use structuralizr-cli to transform structurizr domain-specific language to PlantUML format*

```
./structurizr.sh export -workspace ~/opt/_adoc/non.adoc/workspace.dsl -format plantuml
```

output file is 'structurizr-SystemContext.puml'

*install graphvis, plantuml from homebrew* +

```
brew install graphviz
brew install plantuml
```
*render plantuml into graphic form*

```
plantuml structurizr-SystemContext.puml
```
*rendered graphic file is 'structurizr-SystemContext.png'*

*quick view of the rendered png file*
```
qlmanage -p structurizr-SystemContext.png
```
<= open png for preview on Mac +

- - -

==== Online, no installation required

Open Online PlantUML Server: http://www.plantuml.com/plantuml/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000

Expand Down

0 comments on commit 0fed619

Please sign in to comment.