Deployment Guide — DocKit Master
Deployment Guide
Section titled “Deployment Guide”Quick Reference
- Platform: Any AI coding IDE + Node.js 18+ (for Astro)
- Min Requirements: Node.js 18, npm 9+
- Install Time: ~2 minutes
- Build Time: ~5 seconds (Astro)
System Requirements
Section titled “System Requirements”| Component | Minimum | Recommended |
|---|---|---|
| Node.js | 18.x | 20.x+ |
| npm | 9.x | 10.x+ |
| Disk | 100 MB | 500 MB |
| Bash | 4.x (for CLI) | 5.x |
Installation Methods
Section titled “Installation Methods”Method 1: Interactive Installer
Section titled “Method 1: Interactive Installer”bash scripts/install.shPresents a menu to choose target IDE(s). Supports: Antigravity, Cursor, Claude Code, Gemini CLI, OpenCode, Windsurf, Generic.
Method 2: Install for All IDEs
Section titled “Method 2: Install for All IDEs”bash scripts/install.sh --allMethod 3: Specific IDE
Section titled “Method 3: Specific IDE”bash scripts/install.sh --cursorbash scripts/install.sh --claudebash scripts/install.sh --geminiMethod 4: Manual Copy
Section titled “Method 4: Manual Copy”# For Antigravity (default)cp -r . ~/.gemini/antigravity/skills/doc-kit/
# For Cursorcp adapters/cursor.mdc .cursor/rules/dockit-master.mdc
# For Claude Codecp adapters/claude.md CLAUDE.mdBuilding the Docs Site
Section titled “Building the Docs Site”After generating documentation with DocKit Master:
# Navigate to the Astro sitecd astro-site
# Install dependenciesnpm install
# Build for productionnpm run build
# Preview locallynpm run preview -- --port 4321Deploy to Static Hosting
Section titled “Deploy to Static Hosting”The built output in astro-site/dist/ can be deployed to any static host:
| Host | Command |
|---|---|
| GitHub Pages | Push dist/ to gh-pages branch |
| Cloudflare Pages | Connect repo, build cmd: npm run build, output: dist/ |
| Netlify | Connect repo, build cmd: npm run build, publish: dist/ |
| Vercel | npx vercel deploy dist/ |
Update the site field in astro.config.mjs with your actual deployment URL before building. This is required for correct sitemap generation.
CI/CD Pipeline
Section titled “CI/CD Pipeline”graph LR
A["Push to main"] --> B["npm install"]
B --> C["npm run build"]
C --> D["Deploy dist/"]
Pipeline summary: On push, install dependencies, build the Astro site, and deploy the dist/ output to static hosting. Total pipeline time is under 60 seconds.