Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

string version denotes subdir, build provides xdebug #144

Open
wants to merge 1 commit into
base: release/1.0.0
Choose a base branch
from

Conversation

claimableperch
Copy link

A version that specifies a directory is taken to contain a wordpress install, which is mounted in the VM as a volume or rsynced into the wp-cypress tree and COPY-ed in from there.

Xdebug is installed during VM build and an xdebug.ini is provided.

Environment strings can be specified in cypress.config.js

Change Log

  • config/xdebug.ini : host.docker.internal, PhpStorm and serverName=wp-cypress
  • lib/modules/createConfig.js : sync and option discovery code
  • lib/templates/docker-compose.ejs : volume mount, network (bridge0) and env strings
  • lib/templates/dockerfile.ejs : install rsync and copy subdir if volumes not supported

Types of changes (if applicable):

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

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.

1 participant