structurizr-site-generatr

(โ˜… 329)

Static site generator for architecture models created with Structurizr DSL

  • .dockerignore
  • .editorconfig
  • .gitattributes
  • .gitignore
  • .markdownlint.json
  • .prettierrc
  • .tool-versions
  • build.gradle.kts
  • CONTRIBUTING.md
  • cosign.pub
  • Dockerfile
  • gradlew
  • gradlew.bat
  • LICENSE
  • package.json
  • README.md
  • renovate.json
  • settings.gradle.kts

# Installation Guide

1. Get the code
git clone https://github.com/avisi-cloud/structurizr-site-generatr

Downloads the entire project code from GitHub to your computer.

cd structurizr-site-generatr

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • Homebrew A package manager for macOS/Linux.
brew tap avisi-cloud/tools

Registers this project's repository (tap) with Homebrew.

brew install structurizr-site-generatr

Installs the pre-built package via Homebrew โ€” no source build required.

โœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Docker

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker pull ghcr.io/avisi-cloud/structurizr-site-generatr

Type this command into your terminal and run it.

docker run -it --rm ghcr.io/avisi-cloud/structurizr-site-generatr --help

Runs the built image as an actual container.

docker> docker run -it --rm ghcr.io/avisi-cloud/structurizr-site-generatr --help

Runs the built image as an actual container.

docker> docker run -it --rm ghcr.io/avisi-cloud/structurizr-site-generatr version

Runs the built image as an actual container.

docker> docker run -it --rm -v c:/projects/c4:/var/model ghcr.io/avisi-cloud/structurizr-site-generatr generate-site --workspace-file workspace.dsl --assets-dir assets

Runs the built image as an actual container.

โœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

4. Gradle (Java/Kotlin)

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • JDK (Java) Required to build and run Java/Kotlin projects.
  • Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
./gradlew build

Builds the project using Gradle.

โœ… A BUILD SUCCESSFUL message means it worked. The output is created under build/.

5. Node.js

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
npm install

Downloads and installs the libraries listed in package.json.

npm start

Starts the development/run server.

โœ… After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
// repository documentation