mirror of
https://github.com/tiennm99/store-scraper-bot.git
synced 2026-05-24 17:35:25 +00:00
f3a235de00
Operator runs `npm run migrate` (reads admin + group docs from Atlas) followed by `npm run migrate:bulk` (uploads via wrangler kv bulk put). Cache collections are skipped by default since they auto-rebuild from upstream APIs; --include-cache flag migrates them with TTL preserved. - mongodb is added as a devDependency only — never enters the Worker bundle, the Worker still talks to KV exclusively. - scripts/.atlas-export.json is gitignored (contains exported state). - README documents the one-time runbook.