Setup Codespace

You can run this application in a GitHub Codespace. This is useful for development and testing.

  1. Open the ACA Dapr Workshop GitHub

  2. Click the Open in Codespaces button

Alt text

  1. Click the Change options button

Alt text

  1. Select the lab branch, the aca-dapr-openai-workshop dev container configuration and click create codespace.

Alt text

  1. Wait for the Codespace to be created

As we’ve been using GitHub Codespaces prebuild feature, Codespace should be ready in a few seconds. Click here to learn more about prebuilds.

Alt text

  1. Once the Codespace is ready, you can start working on the dev container through the browser or you can also connect to it using Visual Studio Code

Alt text

In case you’re having the error message “Address already in use - bind”, you can use the following command to free the address in use: sudo lsof -i :8080 and then sudo kill -9 <PID>