Quick Start
Prerequisites: a purchased license, Node.js 20+, npm, and a Cloudflare account (for D1 / R2 via Wrangler).
0. Buy and accept the invite
Section titled “0. Buy and accept the invite”- Purchase on storecay.com.
- Check email / GitHub notifications for a collaborator invite to
storecay/store-cay-starter. - Accept the invite (you cannot clone the private repo until then).
1. Clone
Section titled “1. Clone”git clone https://github.com/storecay/store-cay-starter.gitcd store-cay-starternpm installcp .env.example .env2. Create local D1 and R2
Section titled “2. Create local D1 and R2”npx wrangler d1 create store-cay-starter-dbnpx wrangler r2 bucket create store-cay-starter-imagesCopy the returned database_id into wrangler.jsonc (and confirm the R2 bucket name matches STORAGE).
3. Migrate and seed
Section titled “3. Migrate and seed”npx wrangler d1 migrations apply DB --localnpx tsx scripts/seed-admin.ts admin@storecay.test secret123 "Cay Admin"npm run seed:products4. Start the app
Section titled “4. Start the app”npm run dev- Storefront: http://localhost:8000/
- Admin: http://localhost:8000/admin/login (default
admin@storecay.test/secret123)
Prefer one-click deploy?
Section titled “Prefer one-click deploy?”After you have repo access, see One-click deploy.