Getting Started with Drush in Drupal
Join our free livestream to learn Drush, the essential command-line tool for Drupal developers. We'll cover: - Installing and configuring Drush for your workflow - Essential commands for cache, modules, and database operations - Automating tasks with Drush scripting - And much more… Perfect for developers who want to work faster and more efficiently. We'll start with basics and progress to advanced techniques. Come hang out, level up your Drupal skills, and ask questions during our live Q&A! #drush #drupal # Chapters 00:00 Preshow ## Introduction 03:18 WebWash Premium 04:55 Comment: Job market discussion comment 06:45 What is Drush? (Drupal Shell) ## Installation and Basic Setup 07:54 Installing Drush with Composer 08:48 Comment: Framework discussion (Laravel, Symfony) 11:22 Running Drush from vendor/bin directory 13:03 Database connection considerations with DDEV ## Essential Drush Commands 14:11 Run drush commands 15:26 drush status - Site information overview 15:57 drush cr (cache rebuild) - Most used command 16:28 drush route - Debugging routes and URLs 17:35 Using grep with Drush output 18:49 Format options (YAML, JSON, table) 20:04 Piping output to files 20:37 Using grep with regex patterns 21:42 drush cron - Running cron tasks 23:31 Verbose mode with -v flag ## User Management 26:15 Manage users with Drush 27:13 drush upwd (user password) - Updating passwords 27:44 drush uli (user login) - One-time login links 28:54 One-time login security considerations 31:26 URI parameter for login links 32:30 drush updb (update database) - Running database updates ## Module Management 33:44 drush pm-list - Listing modules 34:07 Filtering modules by status 35:18 Exporting module lists to files 36:50 drush en (enable modules) 37:15 drush pm-uninstall (disable modules) ## Advanced Features 37:45 drush eval - Running arbitrary PHP code 39:12 SQL commands overview 39:49 drush sql:cli - Database command line access 40:34 drush sql:dump - Database exports 41:12 drush sql:drop and import process 42:31 drush sql:query - Direct SQL queries 43:34 drush sql:sanitize - Database sanitization 46:36 Why sanitize email address ## Configuration Management 47:33 Configuration management overview 48:48 drush cex (config export) 50:03 Using --diff to see changes 52:26 drush cim (config import) 53:18 drush cget (config get) - Reading config values 54:42 drush cset (config set) - Setting config values ## Code Generation 56:49 drush generate overview 57:37 Generating modules with drush generate module 58:32 Generating blocks with drush generate block 1:02:11 Creating custom Drush commands 1:02:43 Command file generation and attributes 1:05:32 Building a custom node count command ## Configuration Files 1:10:30 drush.yml configuration file 1:12:36 Setting default options for commands 1:13:14 Site install automation example ## Summary and Wrap-up 1:18:03 Recap of covered topics 1:19:03 WebWash Premium community mention 1:19:52 Ending 1:19:57 Post-show
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.