Skip to content

About

The home of the Eclipse Tractus-X Tutorials

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

19 stars

Watchers

9 watching

Forks

Latest commit

 

History

494 Commits

Folders and files

Eclipse Tractus-X Tutorials

Hands-on tutorials from the Eclipse Tractus-X community: run a dataspace on your laptop, write connector policies, build a product passport, give your product an end-to-end test.

Website: https://eclipse-tractusx.github.io/tutorial-resources/. The home page lists every tutorial, and every tutorial opens there as a site. Web apps open ready to try. Tutorials marked deprecated are kept for reference and may not match the current Tractus-X release.

Tutorials

Tutorial Level What you do Open
E2E Tests in Eclipse Tractus-X ★☆☆ Beginner Create automated tests for Eclipse Tractus-X products using AI, with the Eclipse Tractus-X TestLab testing framework: build an end-to-end test in about an hour and run it on every pull request Site · Source
EDC Policy Playground ★☆☆ Beginner Put together Tractus-X connector policies in the browser and see the policy JSON they become Site · Try the app · Source
Minimum Tractus-X Dataspace (MXD) · ⚠️ deprecated ★★☆ Intermediate Deploy your own Tractus-X connectors, or a whole small dataspace, on a local Kubernetes cluster. Follow-up guides cover access policies, file transfers and EDR transfers Site · Source
Digital Product Passport · ⚠️ deprecated ★★☆ Intermediate Create a passport for your part and read it over the dataspace (Tractus-X Community Days workstream) Site · Source
IRS frontend challenge with GenAI ★★☆ Intermediate Build a frontend for the Item Relationship Service with an AI assistant, in three phases Site · Source
Tracing Game ★★☆ Intermediate Play one company in a supply chain and trace a defective part upstream with your team, over REST or your own Tractus-X connector, with a ready-made Bruno collection (7th Tractus-X Community Days) Site · Source
Tractus-X Go Connector Speed Demo · 🚧 draft ★★☆ Intermediate Run a Catena-X dataspace on your laptop with Docker Compose and race the Tractus-X Go connector against Tractus-X EDC, live, in every pairing Site · Source
Migration guides ★★★ Advanced Move the PostgreSQL and Keycloak of a deployment from the Bitnami Helm charts to the CloudPirates charts Site · PostgreSQL · Keycloak

What is in this repository

Folder Contents
e2e-testing/ The E2E testing tutorial: pages, product catalog, template test project, worked example, administrator kit
edc-policy-playground/ The Policy Playground, an Angular app
mxd/, mxd-runtimes/ The MXD Terraform setup and the runtime images it builds and loads into the cluster
dpp-tutorial/ The Digital Product Passport workstream
icc-irs-challenges/ The IRS frontend challenge and its AI assistant
migration-guides/ Helm chart migration guides
tracing-game/ The Tracing Game player manual and its Bruno collection
tractusx-go-connector-speed-demo/ The Tractus-X Go Connector Speed Demo: tutorial pages, screenshots, and the Docker Compose dataspace with its dashboard
pages/ The home page of the website

The website

pages.yml builds the website and publishes it with GitHub Pages whenever main changes:

Address Built from
/ pages/index.html, with MkDocs (pages/mkdocs.yml)
/e2e-testing/ e2e-testing/, with MkDocs
/policy-playground/ edc-policy-playground/, with Angular
/tractusx-go-connector-speed-demo/ and any other folder with a mkdocs.yml That folder, with MkDocs
/edc-policy-playground/, /mxd/, /dpp-tutorial/, /icc-irs-challenges/, /migration-guides/ and any other folder with Markdown The Markdown in that folder, with its settings from pages/markdown-sites.yml

The tutorials are found, not listed: every top-level folder is one, apart from those under exclude: in pages/markdown-sites.yml (site_folders.py). So a new tutorial folder is on the website, and in its pull request's preview, without changing a workflow.

Every pull request that changes the website, from a branch of this repository or from a fork, gets a preview at https://eclipse-tractusx.github.io/tutorial-resources/pr-preview/<number>/, linked in a comment. pages-preview.yml builds it with the pull request's code and a read-only token; pages-preview-publish.yml then publishes it from main, without running anything from the pull request. Add the no-preview label to a pull request to take its preview down.

A tutorial that is only Markdown needs no site setup of its own: the workflow builds a site from its folder with the Tractus-X look. An entry in pages/markdown-sites.yml is optional and sets its title and the rest; without one, the title is the first heading of its README.md. its README.md is the home page (a contents page is made when there is none), the other Markdown files and pictures become pages, and links to anything else (a Postman collection, Terraform, test data) open the file on GitHub. deprecated: true puts a note on every page; app: gives the home page a "Try the app" button for a web app built from the tutorial, over a blurred screenshot of the app when app_image: names one; version: and history: fill its About panel; authors: lists its authors' GitHub accounts for its card and its About panel.

Every page of the website has the same header and footer: the logo (back to the list of tutorials), the site's name, search, the repository, an About button and the light/dark switch. They come from one theme, pages/theme/, that the home page, the E2E tutorial and the Markdown sites all build with:

File What it is
mkdocs-base.yml The shared settings; a site's mkdocs.yml starts with INHERIT: ../pages/theme/mkdocs-base.yml
overrides/assets/tractusx/ The Tractus-X stylesheet, logo and favicon
hooks/about.py The About panel: version, history and authors (extra.tutorial), dates from git; without authors, the GitHub accounts with commits in the folder

To preview a site on your machine:

pip install -r e2e-testing/requirements.txt

# The home page, on http://localhost:8000
cd pages && mkdocs serve

# E2E testing tutorial, on http://localhost:8000
cd e2e-testing && mkdocs serve

# Policy Playground, on http://localhost:4200
cd edc-policy-playground && npm ci && npm start

# The Markdown tutorials, into _site/ (open _site/mxd/index.html)
python .github/scripts/build_markdown_sites.py --out _site

Add a tutorial

  1. Put it in its own folder with a README.md that says what you build, what you need and how long it takes.
  2. Add a row to the Tutorials table above.
  3. Add a card to pages/index.html, so it shows on the website. Put its picture in pages/home/media/, with a .license file next to it. Set data-path to its folder: when the site is built, the card's Added and Updated dates are filled in from the history. Do not write its authors on the card: list their GitHub accounts, main authors first, as authors: [...] in its entry in pages/markdown-sites.yml, or in extra.tutorial.authors of its own mkdocs.yml. The card and the tutorial's About panel both show them. Give it version 1.0 and add it to Versions. Set its level in data-level and on the card.
  4. If it is only Markdown, it is published at <folder>/ as it is; give it an entry in pages/markdown-sites.yml for its title, version and authors, and point the card to <folder>/. If it has a MkDocs site, its mkdocs.yml is built as it is. A web app of its own is built into its own folder of _site in build_site.sh; point the card there. A MkDocs site starts its mkdocs.yml with INHERIT: ../pages/theme/mkdocs-base.yml, so it gets the same header.

Levels

Every card shows how hard the tutorial is, in one to three stars, and the home page can show one level only (?level=beginner).

Level Stars For whom
Beginner ★☆☆ New to Tractus-X: a browser or the steps on the page are enough, nothing to install or deploy
Intermediate ★★☆ Knows a dataspace and its connectors; runs tools or deploys on a laptop
Advanced ★★★ Operates a Tractus-X deployment: Kubernetes, Helm, databases, upgrades

Versions

Every tutorial has its own version, separate from the versions of the software it uses. It starts at 1.0 when it is published. The minor number goes up when the steps change, for example a new chapter or an update for a new Tractus-X release. The major number goes up when the tutorial is rebuilt. Change it on the tutorial's card in pages/index.html, in its About panel (version and history in pages/markdown-sites.yml, or extra.tutorial in its own mkdocs.yml), and add a line below.

Tutorial Version History
E2E Tests in Eclipse Tractus-X 1.0 1.0 (Nov 2026): first published
EDC Policy Playground 1.1 1.0 (Aug 2023): first published · 1.1 (May 2024): policies for Tractus-X EDC 0.7
IRS frontend challenge with GenAI 1.0 1.0 (Dec 2024): the Community Days challenge, with fixes since
Migration guides 1.2 1.0 (Jan 2026): PostgreSQL guide · 1.1 (Feb 2026): Keycloak guide · 1.2 (Apr 2026): PostgreSQL guide reworked
Minimum Tractus-X Dataspace (MXD) 2.2 1.0 (Aug 2023): first published · 2.0 (Nov 2024): IdentityHub and STS replace MIW and Keycloak · 2.1 (Jan 2025): IdentityHub upgrade · 2.2 (Mar 2025): DCP issuance, Tractus-X EDC 0.9
Tracing Game 1.0 1.0 (Dec 2026): the 7th Tractus-X Community Days game
Tractus-X Go Connector Speed Demo 0.1 0.1 (Dec 2026): draft
Digital Product Passport 1.0 1.0 (Dec 2024): the Community Days workstream

Contributing

Read CONTRIBUTING.md and the pull request etiquette before you open a pull request. Report security issues as described in SECURITY.md. This project follows the Code of Conduct.

NOTICE

This work is licensed under the CC-BY-4.0. Code in this repository is licensed under Apache-2.0.

About

The home of the Eclipse Tractus-X Tutorials

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

19 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages