Skip to content

SysKitTeam/docs-home

Repository files navigation

Website

This website is built using Docusaurus, a modern static website generator.

Installation

npm install

Local Development

Standard Docusaurus Development

npm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Local Testing with Cloudflare Workers

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:dev

The npm run dev command will:

  1. Build your Docusaurus site
  2. Start the Cloudflare Workers development server
  3. 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

Build

npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

📦 Deployment

Production Deployment

npm run deploy:production

Staging Deployment

npm run deploy:staging

Local Testing with Cloudflare Workers

npm run dev

About

Docs Home

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published