Download and Install drupal 9
Create a Drupal 9 project with composer
Create a Drupal 9 project with composer
If uou have a message like : Add Phpunit via composer
CAUTION : PHPunit Version >= 8 is not compatable with drupal, so use the 7
composer require --dev phpunit/phpunit:7
docker system prune
Note : If you are on Docker 17.06.1 or higher and want to also prune volumes, add the --volumes flag:docker system prune --volumes
dd is a basic command une in all linux distributions to copy data. You can also use this feature to test dis performance.
This is usefull if you want to do some actions just one time.
The drush comman is php-script alias src
Example :drush --uri=drupal.loc scr /modules/custom/mymodule/scripts/test-script.php