- Add the ADR Tools to your path
- Using Windows WSL or Linux
- sudo vim ~/.bash_profile
i
to insert- add the following to your profile
export PATH=$PATH:/mnt/c/Users/username/adr-tools/src
changing the path to the location of the adr-tools esc
to exit insert mode:wq
to save and exit
source ~/.bash_profile
to refresh your profile- Create an ADR
adr new My Test ADR Title
- Using Windows WSL or Linux
- Install Tomcat
- Stop Tomcat and delete the root web app.
- In 1. C:\Program Files\Apache Software Foundation\Tomcat 10.1\webapps, rename structurizr-onprem.war to ROOT.warSee here
- Open Tomcat default URL: http://localhost:8098 (I changed the default port from 8080)
- Default creds
structurizr
: ``password` - OnPrem data directory is C:\usr\local\structurizr
- Create a new workspace
- Create a new pw with http://localhost:8098/bcrypt/password
- Add a bcrypt key to the
structurizr.apiKey=
field of structurizr.properties- restart the tomcat server
- In Powershell
java "-Djdk.util.jar.enableMultiRelease=false" -jar ".\bin\structurizr-lite.war" ".\arch-repository-workspace"
- Open browser to http://127.0.0.1:8080/workspace/diagrams
- in WSL
- cd /mnt/c/Users/tulrich/work/lab/structurizr/structurizr-demo/examples/enterprise
- compile the examples
./gradlew compileJava
Creates the/build
folder ./gradlew run -PmainClass=org.example.Example3
- in Powershell
1.
.\gradlew run "-PmainClass=org.example.Example3"
- Load the main System Context Diagram
- Double