This website is built using Docusaurus, a modern static website generator.
npm installnpm startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
For testing the site with the actual Cloudflare Worker environment locally:
# Build and run with Cloudflare Workers dev server (recommended)
npm run dev
# Run locally without connecting to Cloudflare (faster, but less accurate)
npm run dev:local
# Run with remote Cloudflare environment (slower, but most accurate)
npm run dev:remote
# Run worker dev server on specific port
npm run worker:devThe npm run dev command will:
- Build your Docusaurus site
- Start the Cloudflare Workers development server
- Serve your site through the worker (usually at
http://localhost:8787)
This allows you to test:
- Worker script functionality
- Asset serving
- Security headers
- Cache behavior
- Error handling
npm run buildThis command generates static content into the build directory and can be served using any static contents hosting service.
npm run deploy:productionnpm run deploy:stagingnpm run dev