Skip to main content

Launching the SDK in github Codespaces

Note: These instructions do not include anything about

Browse to the folder

cd src/CarbonAware.WebApi/src/

Run the project

dotnet run

It should look like that

sceenshot of the terminal view starting the webapi in codespaces

You can then select the browser icon to open in the browser

codespaces port tab

Note: the URL to browse needs to have that format: https://<codespace public URL>/swagger

Make sure to browser to the swagger UI by appending /swagger to the URL, and the following should open.

sceenshot of the browser view starting the webapi and navigating to the Swagger UI