Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/zazuko/blueprint into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofstetter Benjamin (extern) committed Jul 19, 2024
2 parents 71fb341 + 594c4dc commit 3a7d122
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* text=auto

*.bat eol=crlf
*.cmd eol=crlf
*.sh eol=lf
13 changes: 3 additions & 10 deletions stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,13 @@
You can start the stack with a full demo dataset:

```sh
docker compose \
--profile full-demo-dataset \
up -d --build
docker compose --profile full-demo-dataset up -d --build
```

You can also add a basic Kubernetes + OCI demo dataset, by running the following command:

```sh
docker compose \
--profile basic-metadata \
--profile k8s-demo-data \
up -d --build
docker compose --profile basic-metadata --profile k8s-demo-data up -d --build
```

You will see in a next section how to build this dataset by yourself, in case you want to try with your own Kubernetes cluster.
Expand Down Expand Up @@ -64,9 +59,7 @@ To generate triples, you can run the following command within this directory:
```sh
mkdir -p ./volumes/k8s-data/

npx @zazuko/k8s-rdf-exporter@latest \
--base-iri=http://127.0.0.1:8080/k8s/ \
--base-iri-oci=http://127.0.0.1:8080/oci/ > ./volumes/k8s-data/data.ttl
npx @zazuko/k8s-rdf-exporter@latest --base-iri=http://127.0.0.1:8080/k8s/ --base-iri-oci=http://127.0.0.1:8080/oci/ > ./volumes/k8s-data/data.ttl
```

The `demo-data/k8s.ttl` was generated that way, using a Kubernetes cluster created using Docker Desktop.
Expand Down

0 comments on commit 3a7d122

Please sign in to comment.