Skip to content

Commit

Permalink
docs(stack): no newlines on commands, so that it can work on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicm67 committed Jul 17, 2024
1 parent 317be52 commit 594c4dc
Showing 1 changed file with 3 additions and 10 deletions.
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 594c4dc

Please sign in to comment.