Add IIS publish notes and mark formatting task complete

This commit is contained in:
2026-01-28 15:26:51 +01:00
parent 528d276ba0
commit 16e7067902
2 changed files with 14 additions and 2 deletions

12
IIS.md
View File

@@ -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=<your-secret>`
- 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.