https://github.com/brooke-hamilton/radius-dev-config
Configuration settings for developing and testing Radius on Windows and WSL with Dev Containers
https://github.com/brooke-hamilton/radius-dev-config
dev-containers radius wsl
Last synced: about 1 year ago
JSON representation
Configuration settings for developing and testing Radius on Windows and WSL with Dev Containers
- Host: GitHub
- URL: https://github.com/brooke-hamilton/radius-dev-config
- Owner: brooke-hamilton
- License: mit
- Created: 2024-08-22T20:49:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-13T02:04:10.000Z (about 1 year ago)
- Last Synced: 2025-03-29T10:45:50.167Z (about 1 year ago)
- Topics: dev-containers, radius, wsl
- Language: Shell
- Homepage:
- Size: 50.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Configuration Settings for Developing Radius on Windows/WSL
This repo contains dev machine setup resources for developing [Radius](https://github.com/radius-project/) on Windows 11.
```mermaid
---
title: Radius Development Environment
---
graph
subgraph A [Windows 11]
J --> C
J --> L
J --> M
J[Docker Desktop]
subgraph WSL
J
C
L
M
subgraph Ubuntu - git repos
C((Dev Container - Radius))
L((Dev Container - Dashboard))
M((Dev Container - Samples))
end
end
end
```
*Figure 1: Development Environment architecture showing Windows 11, WSL, and Dev Container relationships. Git repos are cloned to WSL Ubuntu, and dev containers are launched from the git repos.*
## Contents
- `.configurations` folder: DSC configurations (that are applied to the machine using `winget`).
- `.devcontainer` folder: dev container definitions for testing Radius scenarios
## Prerequisites
Windows 11 with:
- `winget` version 1.6 or higher
- 32 GB RAM (minimum total machine memory, 64 GB is better)
## Installation Step-By-Step
1. Provision a new virtual machine with Windows 11.
1. Open Windows Terminal as administrator and run `.\.configurations\Set-WingetConfiguration`
1. Reboot (Required for WSL and Docker Desktop)
## How to Develop
1. Open a terminal window and launch the Ubuntu WSL distro.
2. Clone the [Radius repo](https://github.com/radius-project/radius) to a folder (on Ubuntu). Be sure to include submodules.
```bash
git clone https://github.com/radius-project/radius --recurse-submodules`
```
3. `cd` to the repo and launch VS Code
```bash
cd radius
code .
```
4. Launch the dev container. VS Code may prompt you to launch the dev container, or open the VS Code command palette and run the command to launch the dev container.
```text
Dev Containers: Rebuild and Reopen in Container
```
The first dev container build will take some time.