Closed underbluewaters closed 1 year ago
I've probably left some internal services out of these diagrams for legacy which are critical. There's a seainternal domain, task server subdomain, db2.seasketch.org, and the url shortener. These will all have to be addressed.
While something of a hassle, looking at the legacy codebase it doesn't look impossible to just manually change all the hard-coded urls to legacy.seasketch.org.
This is what I'd like the final setup to look like:
flowchart TD
K["legacy.seasketch.org"] --> B
F["[oregon,mpatt,mapp].seasketch.org"] -->H["Gandi Redirect service"]
H -->B
A[www.seasketch.org] -->I["SeaSketch Next Client"]
J[seasketch.org] -->I
L[next.seasket.ch] -->I
B[Legacy Seasketch JS Client]--> C{#project url?}
C-->|No| D["/homepage.html"]
C-->|Yes| B
I-->|#project or #dashboard url?| B
G["seasket.ch shortener"]-->B
D-->|"Links to SSN as latest product"|I
const HOST = process.env.HOST || "seasketch.org";
. And just use "seasketch.org" (or seasket.ch) to avoid issues latterFinal switch-over checklist:
Verification
Current user path to our domain looks like the following for legacy SeaSketch. We point both bare and www subdomain to our javascript client, which then redirects to the homepage if the url doesn't include hash parameters indicating it's a deep link into the SeaSketch client app.
All DNS records are hosted on Gandi, and most (all?) have a TTL of 3 hours (10800 seconds). It would be nice to move DNS records and web forwarding out of Gandi and on to Route53 or Cloudflare.
Current SSN Deployment for comparison: