Skip to content

Commit a3a5c83

Browse files
Copilotjongalloway
andcommitted
Group deployment infrastructure into single deployment/ directory
Co-authored-by: jongalloway <[email protected]>
1 parent be75e90 commit a3a5c83

27 files changed

+53
-54
lines changed

README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,15 @@ NLWebNet/
4545
│ ├── Endpoints/ # Minimal API endpoints (/ask, /mcp)
4646
│ ├── MCP/ # Model Context Protocol integration
4747
│ ├── Extensions/ # DI and middleware extensions
48-
│ ├── Middleware/ # Request processing middleware
49-
│ ├── Middleware/ # ASP.NET Core middleware
50-
│ └── Extensions/ # Dependency injection extensions
48+
│ └── Middleware/ # Request processing middleware
5149
├── samples/ # 🎯 Sample applications and usage examples
5250
│ ├── Demo/ # 🎮 .NET 9 Blazor Web App demo application
5351
│ └── AspireHost/ # 🏗️ .NET Aspire orchestration host
54-
├── Components/ # Modern Blazor components
55-
├── Layout/ # Layout components (MainLayout, etc.)
56-
│ └── Pages/ # Page components (Home, NLWebDemo, Error)
57-
│ ├── wwwroot/ # Static assets (app.css, favicon, etc.)
58-
│ └── Properties/ # Launch settings and configuration
52+
├── deployment/ # 🚀 Deployment and infrastructure files
53+
│ ├── azure/ # Azure deployment (Bicep templates)
54+
── kubernetes/ # Kubernetes manifests and Helm charts
55+
│ ├── docker/ # Docker and Docker Compose files
56+
│ └── scripts/ # Deployment and validation scripts
5957
├── doc/ # 📚 Documentation
6058
└── tests/ # 🧪 Unit and integration tests
6159
└── NLWebNet.Tests/ # 📋 xUnit test project
@@ -411,28 +409,28 @@ NLWebNet supports multiple deployment options for different environments:
411409
# Quick start with Docker Compose
412410
git clone https://github.com/jongalloway/NLWebNet.git
413411
cd NLWebNet
414-
docker-compose up --build
412+
cd deployment/docker && docker-compose up --build
415413
```
416414

417415
### ☁️ Azure Cloud Deployment
418416
```bash
419417
# Deploy to Azure Container Apps
420-
./scripts/deploy/deploy-azure.sh -g myResourceGroup -t container-apps
418+
./deployment/scripts/deploy/deploy-azure.sh -g myResourceGroup -t container-apps
421419

422420
# Deploy to Azure App Service
423-
./scripts/deploy/deploy-azure.sh -g myResourceGroup -t app-service
421+
./deployment/scripts/deploy/deploy-azure.sh -g myResourceGroup -t app-service
424422
```
425423

426424
### ⚙️ Kubernetes Deployment
427425
```bash
428426
# Deploy to any Kubernetes cluster
429-
kubectl apply -f k8s/
427+
kubectl apply -f deployment/kubernetes/manifests/
430428
```
431429

432430
### 📦 Container Registry
433431
Pre-built images available soon. For now, build locally:
434432
```bash
435-
./scripts/deploy/build-docker.sh -t latest
433+
./deployment/scripts/deploy/build-docker.sh -t latest
436434
```
437435

438436
📖 **[Complete Deployment Guide](doc/deployment/README.md)** - Comprehensive instructions for all deployment scenarios.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docker-compose.yml renamed to deployment/docker/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ services:
44
# NLWebNet Demo Application
55
nlwebnet-demo:
66
build:
7-
context: .
8-
dockerfile: Dockerfile
7+
context: ../../
8+
dockerfile: deployment/docker/Dockerfile
99
target: final
1010
container_name: nlwebnet-demo
1111
ports:
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)