CodeSandbox CDE

You want to use CodeSandbox Cloud Development Environment to follow this workshop.

Important

A GitHub, Google or Apple account is required to register to CodeSandbox.

Registration

Import the repository

  • Click on the Import button (top right of your screen),
  • In the New Repository view, select Find by URL and enter worldline/observability-workshop,
  • Select the proposed repository and click on +Import

Import Repository Import Repository

  • Click on the Fork repository button.

After some minutes, CodeSandbox should have opened your code in a VSCode Web view.

CodeSandbox VSCode View CodeSandbox VSCode View

Tip

You have the choice to continue to work in the VSCode web view, or use the Open in VS Code button to use your Desktop instance instead.

Virtual Machine settings

We recommend to use a stronger Virtual Machine for this workshop as it involves lot of services and components.

🛠️ Click on the square button on the top left of the screen and select Virtual Machine:

CodeSandbox Virtual Machine property CodeSandbox Virtual Machine property

🛠️ Select the Micro sizing and click on Apply

New Virtual Machine specifications should have been applied without restart.

Important

During the first startup, the gradle build is automatically started. Please wait until it is completely finished.

Wait for startup!

It will take some time to the project start, so please be patient.

Before starting the infrastructure, you should wait that VSCode has correctly imported all the Java modules and packages.

VSCode is ready VSCode is ready

Troubleshooting: Gradle or Java error?

If Java state is in “Error” or see some Gradle issues, you can try the following VSCode commands (CTRL-SHIFT-P):

  • Gradle: Refresh Gradle Projects View
  • Java: Clean Java Language Server Workspace

Environment Error: Failed to load DevContainer or Workspace?

You can reload your CodeSandbox environment with the following VSCode command (CTRL-SHIFT-P):

  • Developer: Reload Window