No description
- C# 77.3%
- SCSS 10.3%
- HTML 7.9%
- PowerShell 2.2%
- Shell 1.9%
- Other 0.4%
|
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m32s
|
||
|---|---|---|
| .forgejo/workflows | ||
| .nuke | ||
| build | ||
| src | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitconfig | ||
| .gitignore | ||
| AGENTS.md | ||
| build.cmd | ||
| build.ps1 | ||
| build.sh | ||
| clean-config.sh | ||
| Dockerfile | ||
| omnisharp.json | ||
| Readme.md | ||
| watch.sh | ||
Robware
Repo for my website robware.uk
Tech Stack
- .NET 10 / ASP.NET Core MVC
- MongoDB (data persistence)
- Markdig (Markdown rendering)
- Nuke (build system)
- Docker (CI/CD)
Prerequisites
- .NET 10 SDK
- MongoDB (local or remote)
- Git
Setup
After clone, run:
git config --local include.path ../.gitconfig
This sets up the filters required to ignore local dev config.
Project Structure
| Project | Description |
|---|---|
Robware |
Main ASP.NET Core MVC application |
Robware.Data |
MongoDB data layer |
Robware.Blog |
Blog module |
Robware.Markdig.Extensions |
Custom Markdig extensions |
Robware.Auth |
Authentication |
Robware.Projects |
Projects module |
Robware.Projects.Gogs |
Gogs integration for projects |
Build & Run
# Build
./build.sh
# Run the application
cd src/Robware
dotnet run
Build Pipeline
The Nuke build (build/Build.cs) runs the following targets:
- Clean — Remove existing FontAwesome assets
- Restore — NuGet restore + download FontAwesome
- Compile — Build solution
- Test — Run all test projects
- Publish — Publish to
output/
Testing
# Run all tests
cd src
dotnet test
# Watch mode with coverage
./watch.sh
Docker
docker build -t robware .
docker run -p 5000:5000 robware