-
Notifications
You must be signed in to change notification settings - Fork 0
dev setup
TimV00 edited this page Feb 12, 2026
·
2 revisions
Before starting, make sure the following tools are installed:
- Git
- Docker Desktop
- Visual Studio Code
-
VS Code Extensions
- Dev Containers
- Docker
- Download Git from: https://git-scm.com/downloads
- Verify the installation:
git --version
Download Docker Desktop from https://www.docker.com/products/docker-desktop
- Install and launch Docker Desktop.
- Verify the installation:
docker --version
- Download Visual Studio Code from https://code.visualstudio.com/
- Install the following extensions:
- Dev Containers
- Docker
- Log in to GitHub and create a new repository.
- Copy the repository URL.
- Clone the repository to your local machine:
git clone https://github.com/your-username/your-repo-name.git
cd your-repo-name
- In the project root directory, create a folder named .devcontainer
- Inside this folder, create a file named devcontainer.json
- Depending on what kind of development you plan to do, select the images and extensions you would with to use for your environment. In this example, I am setting up a C# development environment:
- Open the project folder in VS Code.
- Press Ctrl + Shift + P to open the Command Palette.
- Select Dev Containers: Reopen in Container.
VS Code will build and start the containerized environment.
After the container starts, verify the setup:
git status
docker ps
All commands should execute successfully inside the container.
- Stage all changes:
git add . - Commit the changes:
git commit -m "Setup .devcontainer" - Push the changes to GitHub:
git push origin main