Files
GoblinPay/crates
2ro 5c6ae5c290 gp-server: interactive setup wizard + path-prefix hosting
- `gp-server setup` subcommand (manual argv branch, no clap): the five-question
  flow (till URL, shop URL, seed generate-or-paste, currencies, grin1 toggle),
  auto-generates all secrets, creates the encrypted wallet, probes the curated
  node list with fallback, writes /etc/goblinpay.env (0640) + the 0400
  wallet-password credential, and prints the WooCommerce paste block plus a
  reverse-proxy hint. Re-run safe (--reconfigure keeps the existing seed and
  password); non-TTY prints guidance unless --batch. Flags: --reconfigure,
  --prefix, --node, --batch. Tested against a temp dir with the dev seed.

- Path-prefix hosting: the till URL now accepts either a subdomain OR a
  reverse-proxied path on the shop's existing domain (zero new DNS records).
  The pay/result/landing/admin pages emit a {base}-prefixed asset/link path
  derived from GP_PUBLIC_URL, so a prefix-stripping proxy lines up with the
  app's root routes. manual_slatepack refactored to build its result once.
2026-07-05 01:02:16 -04:00
..