code wiki / _hdl_build / nx_hub_provision.nx
nx_hub_provision.nx
buildroot/runtime/_hdl_build/nx_hub_provision.nx
about
nx_hub_provision.nx -- provision a PERSONAL HUB as a FULL STANDALONE DOMAIN SITE (operator: "they are full
bradrwest.com site not on nishifamily" -- each person gets their OWN domain, docroot + sites.conf host->docroot
mapping + their own per-domain SNI cert; NOT a path under nishifamily.com). Mirrors the proven nx_site_provision
provisioning (same sites.conf `<host>\t<docroot>` line + manifest) but renders the HUB template (blog/organizer/
hub) instead of the .site marketing template. ONE call: .hub config -> docroot index.html + sites.conf line +
manifest. The live cut-over (per-domain TLS cert via the ACME issuer + DNS + NAS push) is the deploy step.
Composes nx_hub_template (ht_emit_hub). license_tier: ORIGINAL
dependencies 1 imports · 1 importers
imports: nx_hub_template.nx
imported by: nx_hub_provision_gate.nx
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 9 | const K_MAGIC_1048576: i64 = 1048576 |
functions
| 14 | func hp_provision(domain: *u8, hub_path: *u8, outhtml: *u8, conf_path: *u8, manifest_path: *u8) -> i64 |
| 47 | func main(argc: i64, argv: *i64) -> i64 |