lucacracco / robo-drupal
A my custom Robo task runner for Drupal.
Installs: 12 710
Dependents: 2
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 2
Open Issues: 0
Type:robo-tasks
Requires
- php: >=7.4
- consolidation/robo: ^4
- drush/drush: ^9.7.1 | ^10.0.0 | ^11.0.0 || ^12.0.0
- webflo/drupal-finder: ^1.0
README
This repository contains a library dedicated to the initialization, building, management and maintenance of Drupal8/9/10 projects through the assistance of Robo.li.
Install
composer require lucacracco/robo-drupal
Use
Use vendor/bin/robo list
for see all commands.
Scaffolding and install Drupal example
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
Notes
- When use multisite features is required to configure
sites.php
with all sites that you are working.