Using VsCode
To get started with local development using Visual Studio Code, ensure the following tools are installed:
Required Tools
- Docker: Download here
- Visual Studio Code Download Here
- C# Dev Kit Extension Install
- Docker Extension for VS Code Install
Note: Make sure Docker is installed and running on your machine.
-
You need
gitinstalled on your machine -
Clone the repository
git clone https://github.com/KamiYomu/KamiYomu.git
-
The project folder is in
srcdirectory. -
The visual studio solution is the file
KamiYomu.Web.sln
- Running the Project in VS Code
- Open the
./src/folder in VS Code. - Navigate to the “Run and Debug” tab (Ctrl+Shift+D) or press
F5. - Select the launch configuration: “Attach to .NET Core in Docker”.
- Click the ▶️ Start Debugging button.
- Open the
This project includes predefined tasks to build and run the Docker container automatically. If you install all required extensions, the project will run and open the browser in http://localhost:8080
NOTE: You may see a window with some error related
=> ERROR [kamiyomu.web internal] load metadata for mcr.microsoft.com/dotnet/sdk:8.0, just click onabortbutton then try again.