SlideShare a Scribd company logo
1 of 13
DRUSH
    Suryanto Rachmat
Drupalcamp Indonesia 2012
ABOUT ME


•   5 years experience with Drupal

•   irc.freenode.net #drupal-id: suryanto

•   Twitter: suryanto_r

•   Fulltime Drupal Freelancer
WHAT IS DRUSH?
http://www.flickr.com/photos/zakh/337938459




TOOLKIT FOR DRUPAL
  ADMINISTRATOR
WHAT'S IT FOR?

•   Install Drupal                    •   Much, much more

•   Perform Updates

•   Download/enable/disable modules

•   Synchronize databases/files

•   Backups

•   Queries
INSTALLATION

•   Linux package management

•   Extract tarball from drupal.org

•   Homebrew

•   Windows Installer

•   PEAR
GETTING STARTED

•   To get a list of commands
    drush OR drush help

•   To get help on a command
    drush help <command>

•   Even more documentation
    drush topic
NEW TO DRUSH 5.X

•   Windows compatibility and installer   •   Better dumping/syncing

•   Drush make now included

•   Bash completion script

•   Built-in webserver

•   Better multisite handling

•   Remote sessions
INTEGRATIONS!

•   Backup and Migrate

•   Devel

•   Features

•   Omega and Zen themes

•   Many, many more
SITE ALIASES
Aliases are commonly used to define short names for
local or remote Drupal installations

Managing remote sites with drush aliases
Commands like

drush @staging pm-update
drush @staging cc all
SYNC DRUPAL SITES

//update the codebase using whatever source control system you prefer.
git pull
//import the database using drush
drush sql-sync @dci.prod @dci.dev
//sync the files directory using drush
drush rsync @dci.prod:%files/ @dci.dev:%files/
DRUSH MAKE

One Command + One File = Website

drush make myfile.make newsitefolder
QUESTION



  ?

More Related Content

What's hot

Drupal Backend Performance and Scalability
Drupal Backend Performance and ScalabilityDrupal Backend Performance and Scalability
Drupal Backend Performance and Scalability
Ashok Modi
 

What's hot (15)

Week6 office-hours
Week6 office-hoursWeek6 office-hours
Week6 office-hours
 
Phase2 Large Drupal Multisites (gta case study)
Phase2   Large Drupal Multisites (gta case study)Phase2   Large Drupal Multisites (gta case study)
Phase2 Large Drupal Multisites (gta case study)
 
Foss4g Portable Gis
Foss4g Portable GisFoss4g Portable Gis
Foss4g Portable Gis
 
Stop making, start composing - Using Composer for Drupal development
Stop making, start composing - Using Composer for Drupal developmentStop making, start composing - Using Composer for Drupal development
Stop making, start composing - Using Composer for Drupal development
 
Drupal Multisite
Drupal MultisiteDrupal Multisite
Drupal Multisite
 
How to Package & Deploy Microservices
How to Package & Deploy MicroservicesHow to Package & Deploy Microservices
How to Package & Deploy Microservices
 
Hadoop in a Windows Shop - CHUG - 20120416
Hadoop in a Windows Shop - CHUG - 20120416Hadoop in a Windows Shop - CHUG - 20120416
Hadoop in a Windows Shop - CHUG - 20120416
 
Docker Meetup Rosenheim: Package & deploy Microservices
Docker Meetup Rosenheim: Package & deploy MicroservicesDocker Meetup Rosenheim: Package & deploy Microservices
Docker Meetup Rosenheim: Package & deploy Microservices
 
Drupal in-depth
Drupal in-depthDrupal in-depth
Drupal in-depth
 
Drupal Big Data
Drupal Big DataDrupal Big Data
Drupal Big Data
 
DrupalCampLA 2011: Drupal backend-performance
DrupalCampLA 2011: Drupal backend-performanceDrupalCampLA 2011: Drupal backend-performance
DrupalCampLA 2011: Drupal backend-performance
 
Brief Intro to Drupal
Brief Intro to DrupalBrief Intro to Drupal
Brief Intro to Drupal
 
Highly available Drupal on a Raspberry Pi cluster
Highly available Drupal on a Raspberry Pi clusterHighly available Drupal on a Raspberry Pi cluster
Highly available Drupal on a Raspberry Pi cluster
 
Drupal Backend Performance and Scalability
Drupal Backend Performance and ScalabilityDrupal Backend Performance and Scalability
Drupal Backend Performance and Scalability
 
Using Foundation with Drupal
Using Foundation with DrupalUsing Foundation with Drupal
Using Foundation with Drupal
 

Viewers also liked

твой путь в свой бизнес цнп
твой путь в свой бизнес цнптвой путь в свой бизнес цнп
твой путь в свой бизнес цнп
Сергей Малышев
 
A prensa e os dereitos humanos
A prensa e os dereitos humanosA prensa e os dereitos humanos
A prensa e os dereitos humanos
ChemaFarinha
 
Chinese Reviewer :)
Chinese Reviewer :)Chinese Reviewer :)
Chinese Reviewer :)
Alexa Dayot
 
mloc.js 2014 - JavaScript and the browser as a platform for game development
mloc.js 2014 - JavaScript and the browser as a platform for game developmentmloc.js 2014 - JavaScript and the browser as a platform for game development
mloc.js 2014 - JavaScript and the browser as a platform for game development
David Galeano
 

Viewers also liked (17)

ใบงานที่3
ใบงานที่3ใบงานที่3
ใบงานที่3
 
твой путь в свой бизнес цнп
твой путь в свой бизнес цнптвой путь в свой бизнес цнп
твой путь в свой бизнес цнп
 
A prensa e os dereitos humanos
A prensa e os dereitos humanosA prensa e os dereitos humanos
A prensa e os dereitos humanos
 
Chinese Reviewer :)
Chinese Reviewer :)Chinese Reviewer :)
Chinese Reviewer :)
 
Prop Notes
Prop NotesProp Notes
Prop Notes
 
mloc.js 2014 - JavaScript and the browser as a platform for game development
mloc.js 2014 - JavaScript and the browser as a platform for game developmentmloc.js 2014 - JavaScript and the browser as a platform for game development
mloc.js 2014 - JavaScript and the browser as a platform for game development
 
Bank gk
Bank gkBank gk
Bank gk
 
Slide show mitsubishi
Slide show mitsubishiSlide show mitsubishi
Slide show mitsubishi
 
123
123123
123
 
Toksična komunikacija
Toksična komunikacijaToksična komunikacija
Toksična komunikacija
 
Zamy
ZamyZamy
Zamy
 
ใบงาน1
ใบงาน1ใบงาน1
ใบงาน1
 
Pinagmulannglahingpilipino
PinagmulannglahingpilipinoPinagmulannglahingpilipino
Pinagmulannglahingpilipino
 
Facebook and the Hiring Process
Facebook and the Hiring ProcessFacebook and the Hiring Process
Facebook and the Hiring Process
 
Drupal 8 theming
Drupal 8 themingDrupal 8 theming
Drupal 8 theming
 
акакдо
акакдоакакдо
акакдо
 
ใบงาน2
ใบงาน2ใบงาน2
ใบงาน2
 

Similar to Drush

Drush to simplify Drupalers work - Sivaji
Drush to simplify Drupalers work - SivajiDrush to simplify Drupalers work - Sivaji
Drush to simplify Drupalers work - Sivaji
Drupal Camp Delhi
 
Drush and drupal. администрирование волчек михаил
Drush and drupal. администрирование  волчек михаилDrush and drupal. администрирование  волчек михаил
Drush and drupal. администрирование волчек михаил
drupalconf
 
Drush and drupal. администрирование. Волчек Михаил
Drush and drupal. администрирование. Волчек МихаилDrush and drupal. администрирование. Волчек Михаил
Drush and drupal. администрирование. Волчек Михаил
PVasili
 
Drush&drupal. administration
Drush&drupal. administrationDrush&drupal. administration
Drush&drupal. administration
zabej
 
Phase2 - Large Drupal Multisites (GTA Case Study)
Phase2 - Large Drupal Multisites (GTA Case Study)Phase2 - Large Drupal Multisites (GTA Case Study)
Phase2 - Large Drupal Multisites (GTA Case Study)
Robert Bates
 
Modernize Your Drupal Development
Modernize Your Drupal DevelopmentModernize Your Drupal Development
Modernize Your Drupal Development
Chris Tankersley
 
Introduction to Drupal Content Management System
Introduction to Drupal Content Management SystemIntroduction to Drupal Content Management System
Introduction to Drupal Content Management System
Mario Hernandez
 

Similar to Drush (20)

Drush to simplify Drupalers work - Sivaji
Drush to simplify Drupalers work - SivajiDrush to simplify Drupalers work - Sivaji
Drush to simplify Drupalers work - Sivaji
 
Drush and drupal. администрирование волчек михаил
Drush and drupal. администрирование  волчек михаилDrush and drupal. администрирование  волчек михаил
Drush and drupal. администрирование волчек михаил
 
Drush and drupal. администрирование. Волчек Михаил
Drush and drupal. администрирование. Волчек МихаилDrush and drupal. администрирование. Волчек Михаил
Drush and drupal. администрирование. Волчек Михаил
 
A Drush Primer - DrupalCamp Chattanooga 2013
A Drush Primer - DrupalCamp Chattanooga 2013A Drush Primer - DrupalCamp Chattanooga 2013
A Drush Primer - DrupalCamp Chattanooga 2013
 
Welcome aboard the team
Welcome aboard the teamWelcome aboard the team
Welcome aboard the team
 
Drush&drupal. administration
Drush&drupal. administrationDrush&drupal. administration
Drush&drupal. administration
 
Improving your Drupal 8 development workflow DrupalCampLA
Improving your Drupal 8 development workflow DrupalCampLAImproving your Drupal 8 development workflow DrupalCampLA
Improving your Drupal 8 development workflow DrupalCampLA
 
Phase2 - Large Drupal Multisites (GTA Case Study)
Phase2 - Large Drupal Multisites (GTA Case Study)Phase2 - Large Drupal Multisites (GTA Case Study)
Phase2 - Large Drupal Multisites (GTA Case Study)
 
Drush for drupal website builder
Drush for drupal website builderDrush for drupal website builder
Drush for drupal website builder
 
[drupalday2017] - Devel - D8 release party
[drupalday2017] - Devel - D8 release party[drupalday2017] - Devel - D8 release party
[drupalday2017] - Devel - D8 release party
 
[Luca Lusso] - Devel - D8 release party
[Luca Lusso] - Devel - D8 release party[Luca Lusso] - Devel - D8 release party
[Luca Lusso] - Devel - D8 release party
 
Boost your theming skills - Artem Shymko
Boost your theming skills - Artem ShymkoBoost your theming skills - Artem Shymko
Boost your theming skills - Artem Shymko
 
Boost your theming skills
Boost your theming skillsBoost your theming skills
Boost your theming skills
 
Intro to Drush
Intro to DrushIntro to Drush
Intro to Drush
 
Modernize Your Drupal Development
Modernize Your Drupal DevelopmentModernize Your Drupal Development
Modernize Your Drupal Development
 
Drush workshop
Drush workshopDrush workshop
Drush workshop
 
Introduction to Drupal Content Management System
Introduction to Drupal Content Management SystemIntroduction to Drupal Content Management System
Introduction to Drupal Content Management System
 
Using Grunt with Drupal
Using Grunt with DrupalUsing Grunt with Drupal
Using Grunt with Drupal
 
Drupal DevOps - Melbourne DevOps July 2013
Drupal DevOps - Melbourne DevOps July 2013Drupal DevOps - Melbourne DevOps July 2013
Drupal DevOps - Melbourne DevOps July 2013
 
Beginning Drush
Beginning DrushBeginning Drush
Beginning Drush
 

Recently uploaded

Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 

Recently uploaded (20)

Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 

Drush

  • 1. DRUSH Suryanto Rachmat Drupalcamp Indonesia 2012
  • 2. ABOUT ME • 5 years experience with Drupal • irc.freenode.net #drupal-id: suryanto • Twitter: suryanto_r • Fulltime Drupal Freelancer
  • 5. WHAT'S IT FOR? • Install Drupal • Much, much more • Perform Updates • Download/enable/disable modules • Synchronize databases/files • Backups • Queries
  • 6. INSTALLATION • Linux package management • Extract tarball from drupal.org • Homebrew • Windows Installer • PEAR
  • 7. GETTING STARTED • To get a list of commands drush OR drush help • To get help on a command drush help <command> • Even more documentation drush topic
  • 8. NEW TO DRUSH 5.X • Windows compatibility and installer • Better dumping/syncing • Drush make now included • Bash completion script • Built-in webserver • Better multisite handling • Remote sessions
  • 9. INTEGRATIONS! • Backup and Migrate • Devel • Features • Omega and Zen themes • Many, many more
  • 10. SITE ALIASES Aliases are commonly used to define short names for local or remote Drupal installations Managing remote sites with drush aliases Commands like drush @staging pm-update drush @staging cc all
  • 11. SYNC DRUPAL SITES //update the codebase using whatever source control system you prefer. git pull //import the database using drush drush sql-sync @dci.prod @dci.dev //sync the files directory using drush drush rsync @dci.prod:%files/ @dci.dev:%files/
  • 12. DRUSH MAKE One Command + One File = Website drush make myfile.make newsitefolder

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n