├── .mcp.json
├── apache-config.conf
├── .env.example
├── fix_mcp.sh
├── .gitignore
├── wp-content
├── themes
│ └── my-custom-theme
│ │ ├── footer.php
│ │ ├── index.php
│ │ ├── header.php
│ │ ├── style.css
│ │ └── functions.php
└── plugins
│ └── custom-post-types
│ └── custom-post-types.php
├── .htaccess
├── docker-compose.yml
├── Dockerfile
├── setup_ssh_and_deploy.sh
├── wp-config.php
├── migrate_now.sh
├── README.md
├── .claude
├── wordpress_deployment_workflow.md
└── CLAUDE.md
├── create_droplet_with_ssh.py
├── AGENTS.md
├── CLAUDE.md
└── .codex
└── AGENTS.md
/.mcp.json:
--------------------------------------------------------------------------------
1 | {
2 | "mcpServers": {
3 | "playwright": {
4 | "command": "npx",
5 | "args": ["@playwright/mcp@latest"],
6 | "env": {}
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/apache-config.conf:
--------------------------------------------------------------------------------
1 |
2 | ServerAdmin webmaster@localhost
3 | DocumentRoot /var/www/html
4 |
5 |
6 | Options FollowSymLinks
7 | AllowOverride All
8 | Require all granted
9 |
10 |
11 | ErrorLog ${APACHE_LOG_DIR}/error.log
12 | CustomLog ${APACHE_LOG_DIR}/access.log combined
13 |
--------------------------------------------------------------------------------
/.env.example:
--------------------------------------------------------------------------------
1 | # Digital Ocean API Configuration
2 | DO_API_TOKEN=your_digital_ocean_api_token_here
3 |
4 | # Jina AI API Key for research and scraping
5 | JINA_API_KEY=your_jina_api_key_here
6 |
7 | # MySQL Passwords (optional - will be generated if not provided)
8 | MYSQL_ROOT_PASSWORD=
9 | WP_DB_PASSWORD=
10 |
11 | # Droplet Configuration (optional)
12 | DROPLET_REGION=nyc3
13 | DROPLET_SIZE=s-1vcpu-1gb
--------------------------------------------------------------------------------
/fix_mcp.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # Create .mcp.json file for Playwright MCP configuration
4 | cat > .mcp.json << 'EOF'
5 | {
6 | "mcpServers": {
7 | "playwright": {
8 | "command": "npx",
9 | "args": ["@playwright/mcp@latest"],
10 | "env": {}
11 | }
12 | }
13 | }
14 | EOF
15 |
16 | echo "✅ Created .mcp.json with Playwright MCP configuration"
17 | echo "When you run 'claude' in this directory, you'll be prompted to approve the Playwright MCP."
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Environment variables
2 | .env
3 | .env.local
4 |
5 | # Credentials
6 | .droplet_info
7 | .ssh_key_id
8 |
9 | # WordPress files
10 | wp-content/uploads/*
11 | wp-content/cache/
12 | wp-content/upgrade/
13 | wp-content/backup*/
14 |
15 | # Database
16 | *.sql
17 | mysql_data/
18 |
19 | # Docker volumes
20 | wordpress_data/
21 | db_data/
22 |
23 | # OS files
24 | .DS_Store
25 | Thumbs.db
26 |
27 | # Editor files
28 | .vscode/
29 | .idea/
30 | *.swp
31 | *.swo
32 |
33 | # Logs
34 | *.log
35 | wp-content/debug.log
36 |
37 | # Temporary files
38 | *.tmp
39 | *.bak
40 | *.backup
--------------------------------------------------------------------------------
/wp-content/themes/my-custom-theme/footer.php:
--------------------------------------------------------------------------------
1 |
14 |
15 |
16 |