Drush for Developers, Second Edition, takes common challenges in Drupal projects and solves them using Drush. This book starts with the different installation approaches for Drush and its command structure. It then moves on to perhaps the trickiest challenge in Drupal projects: keeping code and configuration together during a project's lifetime. Next, we will deep dive into the tasks needed to keep a website under control and learn how to run, automate, and monitor them effectively.
Error validating and debugging our Drush commands is a must and this book has a whole chapter on that topic. The magic of managing remote Drupal projects through Drush site aliases is explained in the following chapters through a practical example. Finally, the book wraps up by putting in practice all the concepts covered in previous chapters in order to implement a development workflow for a team.
Hello,
i have installed the ldap module, which makes it possible to sync a user with active directory, when a user is created or updated.
When creating a user through the user administration, the sync is performed perfectly. But i'm trying to create a script, which can fetch all users from ldap and create them afterwards. But when created, the "sync" with ldap is not done. Are hooks not triggered, when using: drush script ?
I have install drush tool in my window8, it work well when the beginning
but after I run drush ld some_module not in the main directory of drupal project.
I just get a error:
C:\xampp\htdocs\drupal7\sites\all>drush ld view
require_once(C:\xampp\htdocs\drupal7\sites\all): failed to open [warning]
stream: Permission denied command.inc:1511
Drush command terminated abnormally due to an unrecoverable error. [error]