Skip to content

Conversation

@ayushpahwa
Copy link
Contributor

@ayushpahwa ayushpahwa commented Jan 28, 2026

Description

Replace Docker Compose with wp-env for simplified local development. This removes the custom Docker setup in favor of the standard WordPress development environment.

Changes:

  • .wp-env.json: New configuration with:

    • Port 8887
    • PHP 8.1
    • WooCommerce and WordPress Importer plugins
    • Debug mode and dev server URL configured
  • package.json: Updated scripts:

    • upwp-env start (with nvm use 22)
    • downwp-env stop (with nvm use 22)
    • Added wp-env:clean for full reset
    • Kept tube:* commands for Jurassic Tube
    • Scripts source nvm and switch to Node 22 for wp-env compatibility, then restore the project's Node version after
  • Removed Docker Compose files:

    • docker-compose.yml, default.env, bin/docker-setup.sh
    • docker/wordpress_xdebug/, docker/mu-*.php, docker/php.ini
  • Kept: docker/bin/ directory for Jurassic Tube tunnel scripts

  • README.md: Updated with wp-env instructions

Steps to reproduce

  1. Install wp-env: npm install -g @wordpress/env
  2. Start environment: npm run up
  3. Start dev server: npm run start
  4. Access site at http://localhost:8887 (admin/password)
  5. For Jetpack: npm run tube:setup then npm run tube:start

Checklist

  • unit tests (N/A - dev tooling only)
  • changelog.txt entry added (N/A - dev tooling only)
  • readme.txt entry added (N/A - dev tooling only)

@ayushpahwa ayushpahwa self-assigned this Jan 28, 2026
@ayushpahwa ayushpahwa force-pushed the chore/add-wp-env-for-local-dev branch 2 times, most recently from e825002 to 52a6cfd Compare January 28, 2026 07:51
- Add .wp-env.json configuration (port 8887, PHP 8.1, WooCommerce + WordPress Importer)
- Update package.json: `up`/`down` now use wp-env, add `wp-env:clean` command
- Remove Docker Compose setup files (docker-compose.yml, default.env, bin/docker-setup.sh)
- Remove docker-compose specific files (Dockerfiles, mu-plugins, php.ini)
- Keep docker/bin/ for Jurassic Tube tunnel scripts
- Update README.md with simplified wp-env instructions

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@ayushpahwa ayushpahwa force-pushed the chore/add-wp-env-for-local-dev branch from 52a6cfd to 52e63ba Compare January 28, 2026 07:59
@ayushpahwa ayushpahwa marked this pull request as ready for review January 28, 2026 08:05
@ayushpahwa ayushpahwa requested review from a team and tpaksu and removed request for a team January 28, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants