Operate ยท Markdown
Upgrades
- Keep a copy of the current
wrangler.jsoncvariables and the D1 database name. - Unzip the newer template beside the store. Copy your wallet addresses,
MAIL_FROM, and domain into the new config. - Run
npx wrangler d1 migrations apply <database> --remotefor any new migration. - Run
npm run preflightwhen the package includes it, thennpx wrangler deploy. - Place a one-cent-style USDC payment on Solana and confirm the download before you announce the change.
Do not copy .dev.vars or .wrangler from an old folder into git.