diff --git a/Docs/Acceptance.md b/Docs/Acceptance.md new file mode 100644 index 0000000..3d87fa1 --- /dev/null +++ b/Docs/Acceptance.md @@ -0,0 +1,39 @@ +# Development qualification + +Both products are functioning independently on Atlas. The private Gitea repository +is `nick/PlotDirector.Website`, remote +`git@git.catherinelynwood.com:nick/PlotDirector.Website.git`, branch `main`. + +Website Development: http://192.168.10.10:5051/ (http://atlas:5051/ where it resolves). +Qualified website runtime source: `27bc77b40ace8565cb8cfcb731b94f397cddfb01`, release +`website-separation-dev-final`. Later commits qualify the independent privileged +publisher and contain handover evidence; they do not change the ASP.NET application. + +All 527 public pages passed HTTP/crawl/metadata/date checks. The dynamic sitemap +retains all 449 indexed Production URLs, while 78 existing solver/browse/feature +pages retain their intentional noindex policy. All 26 real Chromium browser checks +passed on desktop/mobile and with the application service completely stopped. +The independent publisher passes 11 security tests and five mandatory public-route +smokes, with signed compressed integrity, immutable releases, receipts and rollback. +The prepared Nginx vhosts pass 17 sandbox compatibility checks. Both services can +publish/roll back their own copy of an approved shared help artifact without restart. + +The complete cross-product report, receipts, URL/asset inventories, browser/PWA/MFA +results, screenshots, Production baseline, cutover and rollback procedure are in the +application repository: +`Docs/Separation/Acceptance.md`, `Docs/Separation/Audit.md`, +`Docs/Separation/Evidence/`, and `Docs/Separation/Cutover.md` on branch +`codex/application-website-separation-20261127`. + +Application qualified source is `a5d2af23568a43ffb666a239620dda26d7f8fe94`, running at +https://dev.plotdirector.com/. Its full executable regression passes, with real +normal/MFA/deep-link login, seven themes, Context/SignalR and installed Chromium PWA +qualification. Physical Windows/Word, live payments and actual email delivery are +not claimed. Those owner/provider checks and Production infrastructure steps are +explicitly recorded in the cutover procedure. + +Production remains on accepted baseline `9dcd29d423b20e373e49fb28180d993c40aa165d`. +No Production cutover, TLS/provider change, data reset or SQL migration was performed. +Production activation awaits explicit owner approval. The optional external HTTPS +Development website hostname is only a template; the LAN URL above is the actual +running environment. diff --git a/Docs/Publishing.md b/Docs/Publishing.md index de4522c..f74f717 100644 --- a/Docs/Publishing.md +++ b/Docs/Publishing.md @@ -2,7 +2,8 @@ Development runs on Atlas as `plotdirector-website-dev`, identity `plotdirector-website`, port 5051. Actual LAN URL: **http://192.168.10.10:5051/** -(or **http://atlas:5051/** where Atlas resolves). Application Development remains +(or **http://atlas:5051/** where Atlas resolves). Atlas UFW permits port 5051 only from `192.168.10.0/24`; reachability was verified +from the existing reverse-proxy host as well as Atlas. Application Development remains **https://dev.plotdirector.com/**, port 5050, identity/service unchanged. An optional public HTTPS edge template is prepared at `Tools/Deployment/production/nginx-development.conf`; DNS, TLS and edge administrator diff --git a/README.md b/README.md new file mode 100644 index 0000000..1ef26df --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# PlotDirector Website + +The independent, public ASP.NET Core .NET 10 MVC/Razor website for +https://plotdirector.com. It preserves the existing site rather than redesigning it. +The PlotDirector application remains a separate product/repository with unchanged +PlotLine internal identifiers, database and functionality. + +Development: **http://192.168.10.10:5051/** (`plotdirector-website-dev` on Atlas). +Application Development: **https://dev.plotdirector.com/**. +Production cutover is prepared and requires explicit owner approval. + +```sh +dotnet build PlotDirector.Website.slnx +python3 Tests/verify.py --origin http://127.0.0.1:5051 +python3 Tests/test_deployment.py +python3 Tests/nginx_compatibility.py +npm ci +npm run test:browser +``` + +The website needs no SQL Server, application auth/session, SignalR or app PWA. +Public solver/pricing data is published JSON. Help is an approved versioned artifact +from the authoritative application repository, independently consumed/hot-reloaded by +both products. Do not edit generated help snapshots. + +- [Contributor boundaries](AGENTS.md) +- [Shared help and brand publication](Docs/Content.md) +- [Independent publishing and rollback](Docs/Publishing.md) +- [Development acceptance](Docs/Acceptance.md) diff --git a/Tools/Deployment/provision-development.sh b/Tools/Deployment/provision-development.sh index f5fc243..2a91d60 100644 --- a/Tools/Deployment/provision-development.sh +++ b/Tools/Deployment/provision-development.sh @@ -57,3 +57,6 @@ WantedBy=multi-user.target UNIT systemctl daemon-reload systemctl enable plotdirector-website-dev.service + +# The public-content Development service is reachable only from the trusted LAN. +ufw allow from 192.168.10.0/24 to any port 5051 proto tcp comment 'PlotDirector Website Development LAN'