Skip to content
/ dwpt Public

Testing WordPress Develop with Composer and Docker in OSX

Notifications You must be signed in to change notification settings

ekandreas/dwpt

Repository files navigation

Docker WordPress Tests

License

Testing WordPress Develop with Composer and Docker in OSX.

Requirements

All these components should be installed to your local environment, preferable with Brew.

  • Docker with the new docker-machine installed (not the old Boot2Docker)
  • PHP installed
  • PHP Composer installed
  • PHPUnit installed
  • Git

Step by step

Clone

Checkout this repo to your folder

git clone http://github.com/ekandreas/dwpt

Folder

Step into the folder

cd dwpt

IP-address

Change the IP-address in 'deploy.php' to your Docker IP, eg 192.168.99.100

nano deploy.php

Composer update

Run composer install or update

composer update

Running tests

Run tests with PHP Deployer

vendor/bin/dep tests

If you want a more verbose output then add -v, -vv or -vvv to the command, eg:

vendor/bin/dep tests -vvv

About

Testing WordPress Develop with Composer and Docker in OSX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages