From 16e7067902475be600abeb164987a6b6ea27496a Mon Sep 17 00:00:00 2001 From: Frank Tovar Date: Wed, 28 Jan 2026 15:26:51 +0100 Subject: [PATCH] Add IIS publish notes and mark formatting task complete --- IIS.md | 12 ++++++++++++ TASKS.md | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/IIS.md b/IIS.md index ebe7b68..4c7c2c5 100644 --- a/IIS.md +++ b/IIS.md @@ -5,3 +5,15 @@ - SQLite DB stored in App_Data - App pool identity must have write access - Admin password via environment variable + +## Publish +- From repo root: `dotnet publish -c Release -o publish` +- Copy `publish/` contents to site directory (keep `App_Data` writable by the app pool user). +- Set environment variables in web.config or IIS config: + - `ASPNETCORE_ENVIRONMENT=Production` + - `ADMIN_PASSWORD=` +- Optional: enable stdout logging in `web.config` during troubleshooting only; disable afterward. + +## Permissions +- Grant modify rights to the app pool identity on `App_Data` (DB file + wal). +- Ensure firewall/HTTPS bindings match `applicationUrl` configured in IIS. diff --git a/TASKS.md b/TASKS.md index 2fdaad6..248285e 100644 --- a/TASKS.md +++ b/TASKS.md @@ -37,10 +37,10 @@ ## Testing & Quality - [x] Happy-path smoke test script (manual or minimal automated) for phase flow. -- [ ] Lint/format via `dotnet format` (optional) and ensure build succeeds. +- [x] Lint/format via `dotnet format` (optional) and ensure build succeeds. ## Deployment -- [ ] Add minimal publish profile/notes for IIS (respect `ASPNETCORE_ENVIRONMENT`, admin password env var, writable App_Data). +- [x] Add minimal publish profile/notes for IIS (respect `ASPNETCORE_ENVIRONMENT`, admin password env var, writable App_Data). ## Stretch (later) - [ ] Support multiple sessions/rooms.