Skip to content
Snippets Groups Projects
Select Git revision
  • f1c40e601a62e79cc02b93c51963dbf9fe7f4d76
  • main default protected
2 results

models2022

Artifact for the paper "Incremental Causal Connection for Self-Adaptive Systems Based on Relational Reference Attribute Grammars"

Docker

To quickly run the graphical example applications, you can use Docker. For development purposes, please use the regular installation instructions further below in this document. Please note that the setup uses vnc and thus offers limited graphics performance.

⚠️ TODO: check what is needed for VNC setup

  • Install Docker and docker-compose for your system (for Windows and Mac OS, install Docker Desktop)
  • Build the container docker build --tag cgvsim .
  • Run the container: docker run -it -p 6080:80 --rm cgvsim. A webserver is run inside the container that is exposed to port 6080 on your system.
  • Open http://localhost:6080 in a web browser

Installation

  • Clone this repo and its submodules:
    • git clone --recurse-submodules https://git-st.inf.tu-dresden.de/ceti/ros/models2022.git models2022
    • (as a project member with a registered ssh key: git clone --recurse-submodules git@git-st.inf.tu-dresden.de:ceti/ros/models2022.git models2022)
    • change into the workspace cd models2022
  • Prepare/Build all docker images: docker-compose build
  • (Optional) Use the Web UI to observe MQTT message and view the runtime model of place B
  • Start the case study
    • docker-compose up [-d] coordinator (the -d flag is optional to run the coordinator in the background)