Skip to content

Instantly share code, notes, and snippets.

@cbergau
Created October 9, 2016 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cbergau/6b1fc085868b665f1960672c686efb98 to your computer and use it in GitHub Desktop.
Save cbergau/6b1fc085868b665f1960672c686efb98 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
docker run --rm \
-v $(pwd):/var/www/html \
-e IDE_PHPUNIT_PHPUNIT_INCLUDE="/var/www/html/vendor/phpunit" \
-e PHP_IDE_CONFIG="serverName=my.local" \
-e XDEBUG_CONFIG="remote_host=192.168.178.22" \
cbergau/clean_architecture_shop_symfony3client \
php ./vendor/bin/phpunit -c tests/ tests/
@cbergau
Copy link
Author

cbergau commented Oct 9, 2016

Remember to add the Server in PHPStorm with "my.local" and path mapping and maybe change the image name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment