Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 1.13 KB

github-codespaces.md

File metadata and controls

30 lines (16 loc) · 1.13 KB

Developing with GitHub Codespaces

A GitHub codespace container with all dependencies and several useful tools preinstalled is configured in the .devcontainer directory.

To develop in a codespace, open the in-browser VS Code editor by either pressing the . or going to https://github.dev/diasurgical/devilutionX/.

Then, focus on the terminal window from the Command Palette menu (F1):

screenshot

Then, click "Continue Working in GitHub Codespaces":

screenshot

It will take a few minutes to build the container.

Once installed, the page will load back into the in-browser VS Code editor but now with a container shell.

To view the graphical desktop of the container, click Ports > Browser.

The password is vscode.

screenshot

For more information about the desktop environment, see https://github.com/devcontainers/features/tree/main/src/desktop-lite

Once you have a codespace set up, you can reuse it in the future by going to "Your codespaces" on GitHub (https://github.com/codespaces):

screenshot