SlideShare a Scribd company logo
1 of 20
ADOLFO G. NASOL




http://cavhost.com
Who am I?
 Adolfo G. Nasol (danreb)
 Website builder for 4 years but get hooked in
  drupal in the last 2 years and 41 weeks
 Information and Communication Technology
  (ICT) student (June, 2012)
 A product of (TVET) Technical Vocational
  Education and Training
 Part time TVET Trainer



                    http://cavhost.com
Presenting
DRUSH FOR DRUPAL WEBSITE BUILDER




             http://cavhost.com
What is not included?
 Drush Installation
 Using drush to synchronizes and
 deploy sites
 Advance drush command like
 running arbitrary PHP script from
 drush

              http://cavhost.com
What is Drush?
Drush is a command line and
scripting interface for Drupal, a
veritable Swiss army knife
designed to make life easier for
those of us who spend some of
our working hours hacking away
at the command prompt.
              http://cavhost.com
Drush is not a module
  Drush = Drupal + Shell



         +                           =
DRUPAL   +   SHELL SCRIPTING         =   DRUSH



                http://cavhost.com
Drush is a tool
Drush provides a way
of executing
commands and scripts
on a Drupal
installation through
shell or command line
interface on your web
server
            http://cavhost.com
Do I need to learn Drush?
Q - I’m beginner, is drush for me
   too?
A - Yes!, drush command is easy

Q - What makes newbie nervous
   about drush?
A - Drush is a command line
   program and worried of
   breaking their site.

                      http://cavhost.com
Do I need to learn Drush?
Q – I think drush is only for
  developers?
A – No!, If you manage a
  Drupal website, drush is
  something you should
  know!



                    http://cavhost.com
Why developers love
Drush?
 Programmers    hate work
 that is tedious and
 repetitive, drush can
 automate repetitive tasks.

 Drush is written in PHP,
 they can easily extend
 drush if needed.

                   http://cavhost.com
What Drush can do that GUI
          can’t?


 Save   bunch of time!




                  http://cavhost.com
Why use drush?
 Use drush to keep your site up to date
 One installation to rule all your drupal site on
  your server
 A must tools for system admin
 Easy to remember commands
 Easiest way of updating drupal website, it can
  update core and modules in one command


                     http://cavhost.com
Other possible uses of
            drush
 Manage modules
 Manage users
 Execute Drupal commands
 Manipulate and extract site variables
 Executes MySQL queries using drupal
  configuration




                   http://cavhost.com
Let start using Drush!
Drush Command Structure

        Command Options Arguments

In shell just type –

        $ drush <command> [options]


                       http://cavhost.com
Drush Common Commands
   dl - Downloads a module or theme
   en - Enable module or theme
   dis - Disable module or theme
   cc - Clear the cache
   cron - Runs all registered cron hooks
   si - Do a complete drupal installation
   sql-dump - performs mysqldump
   st – Show basic information about a drupal site

                       http://cavhost.com
Drush Common Commands
 pm-list - Show list of extensions
 wd-del - Delete watchdog messages
 vget - Get a list of some or all variables
 vset - set a variable
 upd - Apply database update
 up - Update Drupal core, modules, themes
  and performs database update
 uli - Display one time login link

                    http://cavhost.com
Drush Common Commands
 ws - Show watchdog message
 sql-cli - Open a SQL command-line interface
  using Drupal’s credential
 help - To see all available command
    - example -
       $ drush help | more
   or just
       $ drush help

                   http://cavhost.com
Let’s see it in action!
             Time for demonstration
                    Thanks!

              ADOLFO G. NASOL

Blog: http://danreb.com
Website: http://cavhost.com
Drupal: http://drupal.org/user/547004
Mobile: +63 9195951276
Phone: (046) 8530347

                      http://cavhost.com
Resources and Useful Links
 http://drush.ws/resources
 http://www.developmentseed.org/blog/2009/ju
  n/19/drush-more-beer-less-effort/
 http://www.only10types.com/2011/03/drush-
  backup-and-migrate-command.html
 http://www.slideshare.net/SergeiStryukov/dru
  sh-why-should-it-be-used
 http://drupal.org/node/484720
 http://drupal.org/node/670460

                   http://cavhost.com
Many Thanks!


   THANK YOU ALL!

    PRESENTED @
DRUPAL CAMP MANILA 2012
     FEB. 25, 2012



         http://cavhost.com

More Related Content

What's hot

What's hot (20)

Lightning Fast Drupal Theming (Drupal 7)
Lightning Fast Drupal Theming (Drupal 7)Lightning Fast Drupal Theming (Drupal 7)
Lightning Fast Drupal Theming (Drupal 7)
 
Get Started With Drupal
Get Started With DrupalGet Started With Drupal
Get Started With Drupal
 
Drush - More Beer, Less Effort
Drush - More Beer, Less EffortDrush - More Beer, Less Effort
Drush - More Beer, Less Effort
 
Building Your Own Drupal Distribution
Building Your Own Drupal DistributionBuilding Your Own Drupal Distribution
Building Your Own Drupal Distribution
 
Fast Paced Drupal 8: Accelerating Development with Composer, Drupal Console a...
Fast Paced Drupal 8: Accelerating Development with Composer, Drupal Console a...Fast Paced Drupal 8: Accelerating Development with Composer, Drupal Console a...
Fast Paced Drupal 8: Accelerating Development with Composer, Drupal Console a...
 
Drupal on your laptop
Drupal on your laptopDrupal on your laptop
Drupal on your laptop
 
How to Use the Command Line to Increase Speed of Development
How to Use the Command Line to Increase Speed of DevelopmentHow to Use the Command Line to Increase Speed of Development
How to Use the Command Line to Increase Speed of Development
 
drush - the commandline is your friend
drush - the commandline is your frienddrush - the commandline is your friend
drush - the commandline is your friend
 
Exploring composer in drupal 8 with drupal project - salva molina
Exploring composer in drupal 8 with drupal project - salva molinaExploring composer in drupal 8 with drupal project - salva molina
Exploring composer in drupal 8 with drupal project - salva molina
 
Towards the perfect Drupal Dev Machine
Towards the perfect Drupal Dev MachineTowards the perfect Drupal Dev Machine
Towards the perfect Drupal Dev Machine
 
Contribuir a Drupal - Entorno
Contribuir a Drupal - EntornoContribuir a Drupal - Entorno
Contribuir a Drupal - Entorno
 
CI workflow in a web studio
CI workflow in a web studioCI workflow in a web studio
CI workflow in a web studio
 
Drupal 8 update & drush: October 2014
Drupal 8 update & drush: October 2014Drupal 8 update & drush: October 2014
Drupal 8 update & drush: October 2014
 
Drupal Console Deep Dive: How to Develop Faster and Smarter on Drupal 8
Drupal Console Deep Dive: How to Develop Faster and Smarter on Drupal 8Drupal Console Deep Dive: How to Develop Faster and Smarter on Drupal 8
Drupal Console Deep Dive: How to Develop Faster and Smarter on Drupal 8
 
Common Pitfalls for your Drupal Site, and How to Avoid Them
Common Pitfalls for your Drupal Site, and How to Avoid ThemCommon Pitfalls for your Drupal Site, and How to Avoid Them
Common Pitfalls for your Drupal Site, and How to Avoid Them
 
Drush workshop
Drush workshopDrush workshop
Drush workshop
 
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...
 
Introduction to Drupal, Training conducted at MES-AIMAT, Aluva on 2013-09-26
Introduction to Drupal, Training conducted at MES-AIMAT, Aluva on 2013-09-26Introduction to Drupal, Training conducted at MES-AIMAT, Aluva on 2013-09-26
Introduction to Drupal, Training conducted at MES-AIMAT, Aluva on 2013-09-26
 
Headless approach and Acquia - Case study - Chris Ozog
Headless approach and Acquia - Case study - Chris OzogHeadless approach and Acquia - Case study - Chris Ozog
Headless approach and Acquia - Case study - Chris Ozog
 
Drush
DrushDrush
Drush
 

Viewers also liked

Why to work with youth top 10
Why to work with youth top 10Why to work with youth top 10
Why to work with youth top 10
ssppchurch
 
Quick timeimprimatzekobertzioa
Quick timeimprimatzekobertzioaQuick timeimprimatzekobertzioa
Quick timeimprimatzekobertzioa
Katalogador
 
Neo 10 21-2013
Neo 10 21-2013Neo 10 21-2013
Neo 10 21-2013
M.T. Ray
 
Lectionline iv domenica di avvento anno b 21 dicembre
Lectionline iv domenica di avvento anno b 21 dicembreLectionline iv domenica di avvento anno b 21 dicembre
Lectionline iv domenica di avvento anno b 21 dicembre
Maike Loes
 
Lectionline commemorazione dei defunti
Lectionline commemorazione dei defuntiLectionline commemorazione dei defunti
Lectionline commemorazione dei defunti
Maike Loes
 
Restrepo Web Sample
Restrepo Web SampleRestrepo Web Sample
Restrepo Web Sample
stoliros
 
Gmm 2015 messaggio papa francesco
Gmm 2015 messaggio papa francescoGmm 2015 messaggio papa francesco
Gmm 2015 messaggio papa francesco
Maike Loes
 
Giornata migranti rifugiati 2014
Giornata migranti rifugiati   2014Giornata migranti rifugiati   2014
Giornata migranti rifugiati 2014
Maike Loes
 
Analysis of contents pages
Analysis of contents pagesAnalysis of contents pages
Analysis of contents pages
hchahal
 
Global commercial opportunities derived from glyphosate industry
Global commercial opportunities derived from glyphosate industryGlobal commercial opportunities derived from glyphosate industry
Global commercial opportunities derived from glyphosate industry
Martin lau
 
Perlbeginnes 9 opening
Perlbeginnes 9 openingPerlbeginnes 9 opening
Perlbeginnes 9 opening
azuma satoshi
 

Viewers also liked (20)

Why to work with youth top 10
Why to work with youth top 10Why to work with youth top 10
Why to work with youth top 10
 
Famous Personality - Ryan Higa
Famous Personality - Ryan HigaFamous Personality - Ryan Higa
Famous Personality - Ryan Higa
 
World hunger
World hungerWorld hunger
World hunger
 
World Hunger and Food Security
World Hunger and Food SecurityWorld Hunger and Food Security
World Hunger and Food Security
 
YAPC::Asia 2012 CPANに恩返ししよう
YAPC::Asia 2012 CPANに恩返ししようYAPC::Asia 2012 CPANに恩返ししよう
YAPC::Asia 2012 CPANに恩返ししよう
 
Quick timeimprimatzekobertzioa
Quick timeimprimatzekobertzioaQuick timeimprimatzekobertzioa
Quick timeimprimatzekobertzioa
 
L tthon
L tthonL tthon
L tthon
 
Ka taisa ertas lapas
Ka taisa ertas lapasKa taisa ertas lapas
Ka taisa ertas lapas
 
Neo 10 21-2013
Neo 10 21-2013Neo 10 21-2013
Neo 10 21-2013
 
Lectionline iv domenica di avvento anno b 21 dicembre
Lectionline iv domenica di avvento anno b 21 dicembreLectionline iv domenica di avvento anno b 21 dicembre
Lectionline iv domenica di avvento anno b 21 dicembre
 
Lectionline commemorazione dei defunti
Lectionline commemorazione dei defuntiLectionline commemorazione dei defunti
Lectionline commemorazione dei defunti
 
Restrepo Web Sample
Restrepo Web SampleRestrepo Web Sample
Restrepo Web Sample
 
Farewell (Mae, batch 2011)
Farewell (Mae, batch 2011)Farewell (Mae, batch 2011)
Farewell (Mae, batch 2011)
 
Gmm 2015 messaggio papa francesco
Gmm 2015 messaggio papa francescoGmm 2015 messaggio papa francesco
Gmm 2015 messaggio papa francesco
 
Giornata migranti rifugiati 2014
Giornata migranti rifugiati   2014Giornata migranti rifugiati   2014
Giornata migranti rifugiati 2014
 
Analysis of contents pages
Analysis of contents pagesAnalysis of contents pages
Analysis of contents pages
 
Los Hernandez at Making Believe
Los Hernandez at Making BelieveLos Hernandez at Making Believe
Los Hernandez at Making Believe
 
Developing the organziation
Developing the organziationDeveloping the organziation
Developing the organziation
 
Global commercial opportunities derived from glyphosate industry
Global commercial opportunities derived from glyphosate industryGlobal commercial opportunities derived from glyphosate industry
Global commercial opportunities derived from glyphosate industry
 
Perlbeginnes 9 opening
Perlbeginnes 9 openingPerlbeginnes 9 opening
Perlbeginnes 9 opening
 

Similar to Drush for drupal website builder

5 Important Tools for Drupal Development
5 Important Tools for Drupal Development5 Important Tools for Drupal Development
5 Important Tools for Drupal Development
jcarrig
 
Drupalcamp 2010 Drush Presntation
Drupalcamp 2010 Drush PresntationDrupalcamp 2010 Drush Presntation
Drupalcamp 2010 Drush Presntation
andrewmriley
 
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
 
Modernize Your Drupal Development
Modernize Your Drupal DevelopmentModernize Your Drupal Development
Modernize Your Drupal Development
Chris Tankersley
 
Drupal theming training
Drupal theming trainingDrupal theming training
Drupal theming training
dropsolid
 

Similar to Drush for drupal website builder (20)

A Drush Primer - DrupalCamp Chattanooga 2013
A Drush Primer - DrupalCamp Chattanooga 2013A Drush Primer - DrupalCamp Chattanooga 2013
A Drush Primer - DrupalCamp Chattanooga 2013
 
Intro to Drush
Intro to DrushIntro to Drush
Intro to Drush
 
Drush
DrushDrush
Drush
 
Travis Carden/Drupal Nebraks: Drush Presentation
Travis Carden/Drupal Nebraks: Drush PresentationTravis Carden/Drupal Nebraks: Drush Presentation
Travis Carden/Drupal Nebraks: Drush Presentation
 
Face your fears: Drush and Aegir
Face your fears: Drush and AegirFace your fears: Drush and Aegir
Face your fears: Drush and Aegir
 
Pavlenko Sergey. Drush: using and creating custom commands. DrupalCamp Kyiv 2011
Pavlenko Sergey. Drush: using and creating custom commands. DrupalCamp Kyiv 2011Pavlenko Sergey. Drush: using and creating custom commands. DrupalCamp Kyiv 2011
Pavlenko Sergey. Drush: using and creating custom commands. DrupalCamp Kyiv 2011
 
5 Important Tools for Drupal Development
5 Important Tools for Drupal Development5 Important Tools for Drupal Development
5 Important Tools for Drupal Development
 
Drush make - Install Drupal like a Pro
Drush make - Install Drupal like a ProDrush make - Install Drupal like a Pro
Drush make - Install Drupal like a Pro
 
Drupalcamp 2010 Drush Presntation
Drupalcamp 2010 Drush PresntationDrupalcamp 2010 Drush Presntation
Drupalcamp 2010 Drush Presntation
 
Drush to simplify Drupalers work - Sivaji
Drush to simplify Drupalers work - SivajiDrush to simplify Drupalers work - Sivaji
Drush to simplify Drupalers work - Sivaji
 
Hong Kong Drupal User Group - Introduction of Drush
Hong Kong Drupal User Group - Introduction of DrushHong Kong Drupal User Group - Introduction of Drush
Hong Kong Drupal User Group - Introduction of Drush
 
Drush deploy presentation by Goruachev Mikhail
Drush deploy presentation by Goruachev MikhailDrush deploy presentation by Goruachev Mikhail
Drush deploy presentation by Goruachev Mikhail
 
Making The Drupal Pill Easier To Swallow
Making The Drupal Pill Easier To SwallowMaking The Drupal Pill Easier To Swallow
Making The Drupal Pill Easier To Swallow
 
Beginning Drush
Beginning DrushBeginning Drush
Beginning Drush
 
DrupalTour. Ternopil — Drupal shell or just Drush (Serhii Puchkovskii, Intern...
DrupalTour. Ternopil — Drupal shell or just Drush (Serhii Puchkovskii, Intern...DrupalTour. Ternopil — Drupal shell or just Drush (Serhii Puchkovskii, Intern...
DrupalTour. Ternopil — Drupal shell or just Drush (Serhii Puchkovskii, Intern...
 
Modernize Your Drupal Development
Modernize Your Drupal DevelopmentModernize Your Drupal Development
Modernize Your Drupal Development
 
Intro to Drush
Intro to DrushIntro to Drush
Intro to Drush
 
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
 
Optimize Site Deployments with Drush (DrupalCamp WNY 2011)
Optimize Site Deployments with Drush (DrupalCamp WNY 2011)Optimize Site Deployments with Drush (DrupalCamp WNY 2011)
Optimize Site Deployments with Drush (DrupalCamp WNY 2011)
 
Drupal theming training
Drupal theming trainingDrupal theming training
Drupal theming training
 

More from Adolfo Nasol

Drupal debugging tips
Drupal debugging tipsDrupal debugging tips
Drupal debugging tips
Adolfo Nasol
 
Installing mandriva linux mandriva community wiki
Installing mandriva linux   mandriva community wikiInstalling mandriva linux   mandriva community wiki
Installing mandriva linux mandriva community wiki
Adolfo Nasol
 
Creating Drupal 7 subtheme
Creating Drupal 7 subthemeCreating Drupal 7 subtheme
Creating Drupal 7 subtheme
Adolfo Nasol
 

More from Adolfo Nasol (14)

Drupal debugging tips
Drupal debugging tipsDrupal debugging tips
Drupal debugging tips
 
Mysql cheatsheet - Part 2
Mysql cheatsheet - Part 2Mysql cheatsheet - Part 2
Mysql cheatsheet - Part 2
 
Mysql cheatsheet
Mysql cheatsheetMysql cheatsheet
Mysql cheatsheet
 
Managing drupal views in code
Managing drupal views in codeManaging drupal views in code
Managing drupal views in code
 
Event Registration System Part 2
Event Registration System Part 2Event Registration System Part 2
Event Registration System Part 2
 
Events Registration System Part 1
Events Registration System Part 1Events Registration System Part 1
Events Registration System Part 1
 
Installing mandriva linux mandriva community wiki
Installing mandriva linux   mandriva community wikiInstalling mandriva linux   mandriva community wiki
Installing mandriva linux mandriva community wiki
 
Converting (X)HTML/CSS template to Drupal 7 Theme
Converting (X)HTML/CSS template to Drupal 7 ThemeConverting (X)HTML/CSS template to Drupal 7 Theme
Converting (X)HTML/CSS template to Drupal 7 Theme
 
Research methods
Research methodsResearch methods
Research methods
 
Personality
PersonalityPersonality
Personality
 
Creating Drupal 7 subtheme
Creating Drupal 7 subthemeCreating Drupal 7 subtheme
Creating Drupal 7 subtheme
 
Chs nc2 reviewer - with oral questioning
Chs nc2 reviewer - with oral questioningChs nc2 reviewer - with oral questioning
Chs nc2 reviewer - with oral questioning
 
Operating System Concepts : Reports
Operating System Concepts : ReportsOperating System Concepts : Reports
Operating System Concepts : Reports
 
Drupal Checklist for Site Builder and Web admin
Drupal Checklist for Site Builder and Web adminDrupal Checklist for Site Builder and Web admin
Drupal Checklist for Site Builder and Web admin
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

Drush for drupal website builder

  • 2. Who am I?  Adolfo G. Nasol (danreb)  Website builder for 4 years but get hooked in drupal in the last 2 years and 41 weeks  Information and Communication Technology (ICT) student (June, 2012)  A product of (TVET) Technical Vocational Education and Training  Part time TVET Trainer http://cavhost.com
  • 3. Presenting DRUSH FOR DRUPAL WEBSITE BUILDER http://cavhost.com
  • 4. What is not included?  Drush Installation  Using drush to synchronizes and deploy sites  Advance drush command like running arbitrary PHP script from drush http://cavhost.com
  • 5. What is Drush? Drush is a command line and scripting interface for Drupal, a veritable Swiss army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt. http://cavhost.com
  • 6. Drush is not a module Drush = Drupal + Shell + = DRUPAL + SHELL SCRIPTING = DRUSH http://cavhost.com
  • 7. Drush is a tool Drush provides a way of executing commands and scripts on a Drupal installation through shell or command line interface on your web server http://cavhost.com
  • 8. Do I need to learn Drush? Q - I’m beginner, is drush for me too? A - Yes!, drush command is easy Q - What makes newbie nervous about drush? A - Drush is a command line program and worried of breaking their site. http://cavhost.com
  • 9. Do I need to learn Drush? Q – I think drush is only for developers? A – No!, If you manage a Drupal website, drush is something you should know! http://cavhost.com
  • 10. Why developers love Drush?  Programmers hate work that is tedious and repetitive, drush can automate repetitive tasks.  Drush is written in PHP, they can easily extend drush if needed. http://cavhost.com
  • 11. What Drush can do that GUI can’t?  Save bunch of time! http://cavhost.com
  • 12. Why use drush?  Use drush to keep your site up to date  One installation to rule all your drupal site on your server  A must tools for system admin  Easy to remember commands  Easiest way of updating drupal website, it can update core and modules in one command http://cavhost.com
  • 13. Other possible uses of drush  Manage modules  Manage users  Execute Drupal commands  Manipulate and extract site variables  Executes MySQL queries using drupal configuration http://cavhost.com
  • 14. Let start using Drush! Drush Command Structure Command Options Arguments In shell just type – $ drush <command> [options] http://cavhost.com
  • 15. Drush Common Commands  dl - Downloads a module or theme  en - Enable module or theme  dis - Disable module or theme  cc - Clear the cache  cron - Runs all registered cron hooks  si - Do a complete drupal installation  sql-dump - performs mysqldump  st – Show basic information about a drupal site http://cavhost.com
  • 16. Drush Common Commands  pm-list - Show list of extensions  wd-del - Delete watchdog messages  vget - Get a list of some or all variables  vset - set a variable  upd - Apply database update  up - Update Drupal core, modules, themes and performs database update  uli - Display one time login link http://cavhost.com
  • 17. Drush Common Commands  ws - Show watchdog message  sql-cli - Open a SQL command-line interface using Drupal’s credential  help - To see all available command - example - $ drush help | more or just $ drush help http://cavhost.com
  • 18. Let’s see it in action! Time for demonstration Thanks! ADOLFO G. NASOL Blog: http://danreb.com Website: http://cavhost.com Drupal: http://drupal.org/user/547004 Mobile: +63 9195951276 Phone: (046) 8530347 http://cavhost.com
  • 19. Resources and Useful Links  http://drush.ws/resources  http://www.developmentseed.org/blog/2009/ju n/19/drush-more-beer-less-effort/  http://www.only10types.com/2011/03/drush- backup-and-migrate-command.html  http://www.slideshare.net/SergeiStryukov/dru sh-why-should-it-be-used  http://drupal.org/node/484720  http://drupal.org/node/670460 http://cavhost.com
  • 20. Many Thanks! THANK YOU ALL! PRESENTED @ DRUPAL CAMP MANILA 2012 FEB. 25, 2012 http://cavhost.com