git clone https://github.com/Myopenai/startupsystems.git
cd startupsystems
npm install
For Windows (PowerShell):
.\scripts\setup.ps1
For Linux/Mac:
chmod +x scripts/setup.sh
./scripts/setup.sh
Edit .dev.vars with your Cloudflare credentials:
ENVIRONMENT=development
CLOUDFLARE_API_TOKEN=your_token_here
CLOUDFLARE_ACCOUNT_ID=your_account_id_here
npx wrangler login
npm run dev
npm run deploy
Add these secrets to your GitHub repository:
CLOUDFLARE_API_TOKENCLOUDFLARE_ACCOUNT_IDAfter deployment, check your worker:
Test endpoints:
/ - Root API info/health - Health check/api/status - Service statusnpm install -g wrangler
npm run lint
npm run build
npx wrangler logout
npx wrangler login