Article: RISC-Y Business: Raging against the reduced machine.
This repository uses a devcontainer.json
file to allow you to quickly get started.
Using Codespaces is required for the training
- Fork this repository
- Click the green
<&g 77C8 t; Code
button - Press
...
and thenNew with options...
- Change
Machine type
to4-core
- Then
Create codespace
- Wait a ~5 minutes while the image is loading ☕
- Press
Show log
to see progress - Reload the page if it appears stuck
- Firefox does not work, use Chrome!
- Press
Remember to shut down your codespace here when you're finished.
I recommend switching to the GitHub Dark
theme, because the syntax highlighting works better there.
When prompted by the CMake tools, just close the notifications:
At a later date you can set things up locally with Docker Desktop
- Install/Update Docker Desktop (alternatives)
- Start Docker Desktop
- Install Visual Studio Code
- Clone and open this repository in VS Code (use the HTTPS protocol)
- Install the Dev Containers extension in VS Code (you should be prompted for recommended extensions)
- Click the blue 'Reopen in Container' button when prompted (you can also find it in the command palette)
For more detailed steps, check out the Dev Containers tutorial. The instructions after this assume you are running inside the container.
Because the host filesystem is mounted inside the container you may need to configure Git to not automatically convert line endings:
git config --global core.autocrlf false
Additionally it's recommended to configure Docker to use the WSL 2 backend.