Drush

421 views
383 views

Published on

Materi presentasi Drush di Drupalcamp Indonesia 2012

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
421
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
28
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Drush

    1. 1. DRUSH Suryanto RachmatDrupalcamp Indonesia 2012
    2. 2. ABOUT ME• 5 years experience with Drupal• irc.freenode.net #drupal-id: suryanto• Twitter: suryanto_r• Fulltime Drupal Freelancer
    3. 3. WHAT IS DRUSH?
    4. 4. http://www.flickr.com/photos/zakh/337938459TOOLKIT FOR DRUPAL ADMINISTRATOR
    5. 5. WHATS IT FOR?• Install Drupal • Much, much more• Perform Updates• Download/enable/disable modules• Synchronize databases/files• Backups• Queries
    6. 6. INSTALLATION• Linux package management• Extract tarball from drupal.org• Homebrew• Windows Installer• PEAR
    7. 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. 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. 9. INTEGRATIONS!• Backup and Migrate• Devel• Features• Omega and Zen themes• Many, many more
    10. 10. SITE ALIASESAliases are commonly used to define short names forlocal or remote Drupal installationsManaging remote sites with drush aliasesCommands likedrush @staging pm-updatedrush @staging cc all
    11. 11. SYNC DRUPAL SITES//update the codebase using whatever source control system you prefer.git pull//import the database using drushdrush sql-sync @dci.prod @dci.dev//sync the files directory using drushdrush rsync @dci.prod:%files/ @dci.dev:%files/
    12. 12. DRUSH MAKEOne Command + One File = Websitedrush make myfile.make newsitefolder
    13. 13. QUESTION ?

    ×