https://github.com/tmorin/archicode
Streamline architectural design and visualization with an as-code approach. Integrates C4 Model and ArchiMate for efficient workflow.
https://github.com/tmorin/archicode
archimate architecture c4-model cli
Last synced: 3 months ago
JSON representation
Streamline architectural design and visualization with an as-code approach. Integrates C4 Model and ArchiMate for efficient workflow.
- Host: GitHub
- URL: https://github.com/tmorin/archicode
- Owner: tmorin
- License: mit
- Created: 2023-08-13T16:55:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-06T18:34:58.000Z (about 1 year ago)
- Last Synced: 2025-06-19T00:11:31.798Z (12 months ago)
- Topics: archimate, architecture, c4-model, cli
- Language: Java
- Homepage: https://tmorin.github.io/archicode/
- Size: 587 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ArchiCode
[](https://sonarcloud.io/summary/new_code?id=tmorin_archicode)
> Streamline architectural design and visualization with an as-code approach. Integrates C4 Model and ArchiMate for efficient workflow.
## Run
The following commands assume the ArchiCode workspace is located in the current directory.
**Show the help information**
```shell
docker run \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/workdir" -w "/workdir" \
--rm ghcr.io/tmorin/archicode --help
```
**Generate all views**
```shell
docker run \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/workdir" -w "/workdir" \
--rm ghcr.io/tmorin/archicode views generate
```
**Get the JSON schema for the Workspace resource**
```shell
docker run \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/workdir" -w "/workdir" \
--rm ghcr.io/tmorin/archicode query schemas workspace
```
**Get the JSON schema for the Manifest resource**
```shell
docker run \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/workdir" -w "/workdir" \
--rm ghcr.io/tmorin/archicode query schemas manifest
```
## Maintenance
**Dependencies upgrade**
```shell
./mvnw versions:display-dependency-updates
```
**Quarkus update**
```shell
./mvnw quarkus:update
```
**Release**
```shell
./mvnw --batch-mode release:clean \
&& ./mvnw --batch-mode release:prepare \
-DreleaseVersion=X.Y.Z \
-DdevelopmentVersion=Y.X.Z-SNAPSHOT
```
**Build package and OIC image**
```shell
./mvnw package -Dquarkus.container-image.build=true
```
**Build package and OIC image without test execution**
```shell
./mvnw package -Dquarkus.container-image.build=true -Dmaven.test.skip
```
```shell
./mvnw clean package -Dquarkus.container-image.build=true
```