• Like
  • Save
Beginning Drush
Upcoming SlideShare
Loading in...5
×
 

Beginning Drush

on

  • 1,468 views

 

Statistics

Views

Total Views
1,468
Views on SlideShare
1,457
Embed Views
11

Actions

Likes
2
Downloads
18
Comments
0

2 Embeds 11

http://www.mediacurrent.com 6
http://mis-gryphon.mediacurrentstaging.info 5

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Beginning Drush Beginning Drush Presentation Transcript

    • Getting started with Drush Downloading, installing and extending Drupal with Drush
    • By Kevin BasarabMediacurrent Sr. Drupal Developer @kbasarab
    • What is Drush used for?■ Making Sandwiches■ Downloading Drupal■ Installing Drupal■ Downloading/Installing Modules■ Clearing Cache■ Generating/Using .make files■ Aliases/Sync sites■ Backup■ Update
    • Making Sandwiches g sandwiches Source: http://drupal.org
    • Making Sandwiches Source: http://drupal.org
    • Download DrupalDownloading Drupaldrush dl drupalcp -r drupal-7.14/* ./rm -r drupal-7.14Installing Drupaldrush si --db-url=mysql://root:@localhost/drush_demo --account-pass=test --site-name=Drush Demo Source: http://drupal.org
    • Download Drupal■ Downloading Drupaldrush dl drupalcp -r drupal-7.14/* ./rm -r drupal-7.14■ Installing Drupaldrush si --db-url=mysql://root:@localhost/drush_demo --account-pass=test --site-name=Drush Demo Source: http://drupal.org
    • Install Drupal■ Downloading Drupaldrush dl drupal ● Optionscp -r drupal-7.14/* ./ ○ --site-mailrm -r○ drupal-7.14 --db-prefix ○ --db-su ○ --db-su-pw■ Installing Drupaldrush si --db-url=mysql://root:@localhost/drush_demo --account-pass=test --site-name=Drush Demo Source: http://drupal.org
    • Download Modules■ Downloading Drupaldrush dl drupal ● Optionscp -r drupal-7.14/* ./ ○ --site-mailrm -r○ drupal-7.14 --db-prefix ○ --db-su ○ --db-su-pw■ Installing Drupaldrush si --db-url=mysql://root:@localhost/drush_demo --account-pass=test --site-name=Drush Demo Source: http://drupal.org
    • Enable Modules■ Downloading Drupaldrush dl drupal ● Optionscp -r drupal-7.14/* ./ ○ --site-mailrm -r○ drupal-7.14 --db-prefix ○ --db-su ○ --db-su-pw■ Installing Drupaldrush si --db-url=mysql://root:@localhost/drush_demo --account-pass=test --site-name=Drush Demo Source: http://drupal.org
    • Clear Caches Source: http://drupal.org
    • .make files ● Useful when installing same modules on multiple sites ● Downloads and installs code, does not setup database ● Can create from existing site using generate-makefile or build yourself Source: http://drupal.org
    • .make files
    • .make files ● Manifest of projects Source: http://drupal.org
    • Alias Files ● Manifest of projects Source: http://drupal.org
    • Alias Files Usage ● Sync production, staging or dev database down to local quickly. ● Push full database changes to production, staging or dev. Source: http://drupal.org
    • Alias Files Usage ● Full example: http://drupal.org/node/1401522 Source: http://drupal.org
    • Archive Backup
    • MySQL Dump ● Full example: http://drupal.org/node/1401522 Source: http://drupal.org
    • Update Code
    • Update DB ● Full example: http://drupal.org/node/1401522 Source: http://drupal.org
    • Bonus Round ● drush sqlc (MySQL CLI) ● drush vset/drush vget (Variable set/get) ● drush fu, drush fr, drush fra (Features)
    • Questions?