This docker compose starts a browser-based VS Code with included ExplorViz VS code extension and the frontend-demo stack.
To update all stack-related images:
docker compose pull
To start the stack:
docker compose up -d
To stop the stack:
docker compose down -v
--
Open VS Code in Browser:
http://localhost:3001/?folder=/home/workspace/projects/spring-petclinic-microservices
- In VS Code, open up a file, e.g.,
spring-petclinic-customers-service/org/springframework/samples/petclinic/customers/model/Owner.java
. - Press the
ExplorViz button
(globe symbol) in the left side navbar. - Press
Open Visualization
button and select theDistributed Petclinic Sample
visualization. - Not all classes and packages are included in the visualization. However, the owner class, for example, shows how the interaction between VS Code and the visualization works.
Copy the project in the projects-directory:
cp -pr <project> projects/
Open Folder -> Project