Move deployment files to scripts folder for better organization

- Move Deploy-PepApi.ps1 to scripts/
- Move DEPLOY.md to scripts/
- Update all script path references to scripts/Deploy-PepApi.ps1
- Update deployment documentation with correct paths
- Add clarification to run from repository root

The deploy script already had logic to detect the scripts subfolder,
this change improves repository organization by separating deployment
tooling from source code.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-27 19:25:34 -04:00
parent 029ad2b3ef
commit d1311ffc74
2 changed files with 7 additions and 7 deletions

View File

@@ -11,8 +11,8 @@
### Deploy as Windows Service ### Deploy as Windows Service
```powershell ```powershell
# Run as Administrator # Run as Administrator from repository root
powershell -ExecutionPolicy Bypass -File Deploy-PepApi.ps1 -OpenFirewall powershell -ExecutionPolicy Bypass -File scripts/Deploy-PepApi.ps1 -OpenFirewall
``` ```
This will: This will:
@@ -27,7 +27,7 @@ This will:
```powershell ```powershell
# Custom service name and location # Custom service name and location
powershell -ExecutionPolicy Bypass -File Deploy-PepApi.ps1 ` powershell -ExecutionPolicy Bypass -File scripts/Deploy-PepApi.ps1 `
-ServiceName "MyPepApi" ` -ServiceName "MyPepApi" `
-InstallDir "D:\Services\PepApi" ` -InstallDir "D:\Services\PepApi" `
-Urls "http://*:9000" ` -Urls "http://*:9000" `
@@ -210,7 +210,7 @@ netstat -ano | findstr :8085
Stop-Process -Id [PID] -Force Stop-Process -Id [PID] -Force
# Or deploy on different port # Or deploy on different port
Deploy-PepApi.ps1 -Urls "http://*:9000" scripts/Deploy-PepApi.ps1 -Urls "http://*:9000"
``` ```
--- ---
@@ -221,7 +221,7 @@ To update the service with new code:
```powershell ```powershell
# Simply run the deploy script again # Simply run the deploy script again
powershell -ExecutionPolicy Bypass -File Deploy-PepApi.ps1 -OpenFirewall powershell -ExecutionPolicy Bypass -File scripts/Deploy-PepApi.ps1 -OpenFirewall
``` ```
The script will: The script will:

View File

@@ -3,10 +3,10 @@ Deploy PepApi as a Windows Service
Examples: Examples:
# Run from repository root: # Run from repository root:
powershell -ExecutionPolicy Bypass -File Deploy-PepApi.ps1 -ServiceName PepApi -InstallDir C:\Services\PepApi -Urls "http://*:8085" -OpenFirewall powershell -ExecutionPolicy Bypass -File scripts/Deploy-PepApi.ps1 -ServiceName PepApi -InstallDir C:\Services\PepApi -Urls "http://*:8085" -OpenFirewall
# Custom installation: # Custom installation:
powershell -ExecutionPolicy Bypass -File Deploy-PepApi.ps1 -ServiceName PepApiService -InstallDir D:\MyServices\PepApi -Urls "http://*:8085" -OpenFirewall powershell -ExecutionPolicy Bypass -File scripts/Deploy-PepApi.ps1 -ServiceName PepApiService -InstallDir D:\MyServices\PepApi -Urls "http://*:8085" -OpenFirewall
Requires: dotnet SDK/runtime installed and administrative privileges. Requires: dotnet SDK/runtime installed and administrative privileges.
#> #>