-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial codespace branch and associated docs
- Loading branch information
Showing
5 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Launching the SDK in github Codespaces | ||
======== | ||
|
||
> Note: These instructions do not include anything about | ||
Browse to the folder | ||
```sh | ||
cd src/CarbonAware.WebApi/src/ | ||
``` | ||
|
||
Run the project | ||
```sh | ||
dotnet run | ||
``` | ||
|
||
It should look like that | ||
|
||
![sceenshot of the terminal view starting the webapi in codespaces](./images/codespaces-terminal-1.png) | ||
|
||
You can then select the browser icon to open in the browser | ||
|
||
![codespaces port tab](./images/codespaces-ports-1.png) | ||
|
||
> 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](./images/codespaces-browser-1.png) | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.