Quick Start Guide
Get a WordPress site running with AI-powered development.
Quick Setup
# 1. Clone and enter directory
git clone https://github.com/wdgdc/WDG-AI-Development-Environment.git && cd WDG-AI-Development-Environment
# 2. Run installer
./install.sh
# 3. Create your site (Wikit framework + theme + plugin)
wdg create my-site --init-wikit
# 4. Open in browser (the project starts automatically on create)
open https://my-site.localhost:6443Port already in use?
If :6443 (or any other WDG port) conflicts with something on your machine, run wdg ports check to find conflicts and wdg ports find 5 6000 to discover free alternatives, then update them in .env.
You now have a fully functional WordPress site with AI code search capabilities.
What You've Set Up
Your installation includes:
- ✅ WordPress with Wikit framework
- ✅ MySQL database
- ✅ Vector database for AI search
- ✅ Custom theme from template
- ✅ Project-level Claude Code skills and agents (synced from platform templates)
- ✅ Local AI embeddings (no external API dependencies)
Essential Commands
Search Your Code with AI
# Index your project for AI search
wdg my-site index
# List all indexed collections
wdg collections listManage Your Project
# Check status
wdg status
# View logs
wdg my-site logs
# Stop the project
wdg my-site stop
# List all projects
wdg listConnect Claude Code (and other MCP clients)
Projects created with --init-wikit are already wired to the MCP server, so Claude Code picks up the connection automatically inside the project directory. To register the WDG MCP server with Claude Code manually, point it at the Streamable HTTP endpoint:
claude mcp add wdg-local --transport http http://localhost:6765/mcpClaude can now search your codebase through the Model Context Protocol. The platform also proxies authenticated external services (Jira, Figma, Slack, Read.ai) — connect them with wdg mcp auth <service> and check status with wdg mcp status.
Troubleshooting
Check project status
# See if your project is running
wdg status
# Start project if it's not running
wdg my-site startRestart a project
# If the project is running but having issues
wdg my-site restartView logs
# Check logs for errors
wdg my-site logs
# Follow logs in real-time
wdg my-site logs --followReset database
# Reset to fresh WordPress installation (keeps project)
wdg my-site db resetDelete and recreate project
# Complete project removal and recreation
wdg delete my-site --force
wdg create my-site --init-wikitRun diagnostics
# Check system health
wdg doctorNext Steps
Continue Learning:
Advanced Topics:
You've successfully set up an AI-powered WordPress development environment with local code indexing.