This repository contains a library dedicated to the initialization, building, management and maintenance of Drupal10/11 projects through the assistance of Robo.li.
composer require lucacracco/robo-drupalUse vendor/bin/robo list for see all commands.
Require library
composer require lucacracco/robo-drupal
Copy template files for settings/services
cp -v "[root]/vendor/lucacracco/robo-drupal/tests/template/tpl.settings.php" "[root]/web/sites/default/tpl.settings.php"
cp -v "[root]/vendor/lucacracco/robo-drupal/tests/template/tpl.services.yml" "[root]/web/sites/default/tpl.services.yml"
Run command for scaffold settings/services
./vendor/bin/robo scaffold
Run command for install Drupal (standard profile)
./vendor/bin/robo install standard
- When use multisite features is required to configure
sites.phpwith all sites that you are working.