Drush make - Install Drupal like a Pro
Upcoming SlideShare
Loading in...5

Like this? Share it with your network


Drush make - Install Drupal like a Pro



This is an intro to Drush Make, a command line tool that extends Drush, which automates the installation of Drupal....

This is an intro to Drush Make, a command line tool that extends Drush, which automates the installation of Drupal.

If you get tired of installing Drupal over and over again, check these slides out.

This presentation is also a shameless plug for http://drushmake.me which provides a GUI for people who don't want to build their own makefiles.



Total Views
Views on SlideShare
Embed Views



3 Embeds 7

https://twitter.com 5
http://localhost 1
http://kiran 1



Upload Details

Uploaded via as Apple Keynote

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.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Drush make - Install Drupal like a Pro Presentation Transcript

  • 1. drush make Install like a Pro2011.07.09 - Dallas Drupal Dayshttp://dallasdrupal.org/sessions/drush-make-install-pro
  • 2. What’s the Problem?
  • 3. What’s the Problem?‣ Installing Drupal is easy and quick‣ Installing all the modules? Not so much‣ Time consuming, prone to mistakes‣ It’s miserable‣ It’s the most vocally hated aspect of Drupal, especially by newcomers who don’t “get” it yet
  • 4. First things first: drushhttp://drupal.org/project/drush
  • 5. First things first: drush ‣ The DRUpal SHell is a command line tool ‣ Quickly do all the things that normally take many, many clicks within the Drupal UI and/or FTP ‣ Can be extended by modules or themes ‣ Can be scripted to do seemingly endless taskshttp://drupal.org/project/drush
  • 6. What is drush make?http://drupal.org/project/drush_make
  • 7. What is drush make? ‣ “Drush make is an extension to drush that can create a ready-to-use drupal site, pulling sources from various locations. It does this by parsing a flat text file (similar to a drupal .info file) and downloading the sources it describes.” ‣ It’s a macro for installing Drupalhttp://drupal.org/project/drush_make
  • 8. What can I include?http://drupalcode.org/project/drush_make.git/blob_plain/a945642c5c48b759ae4a935a1b1cc0943ed720dc:/README.txt
  • 9. What can I include?‣ Drupal core, distributions, or installation profiles‣ Modules, themes, or Features‣ Patches (with MD5 hashes)‣ External libraries‣ git/bzr/SVN/CVS repositories‣ Other drush makefileshttp://drupalcode.org/project/drush_make.git/blob_plain/a945642c5c48b759ae4a935a1b1cc0943ed720dc:/README.txt
  • 10. How do I use makefiles?
  • 11. How do I use makefiles?‣ Install drush and drush_make‣ Create a makefile‣ $ drush make myfile.make‣ Done! Get building!
  • 12. A simple makefilecore = 7.xapi = 2; Coreprojects[] = drupalCode goes here.; Modulesprojects[] = ctoolsprojects[] = views; Themesprojects[] = mothership
  • 13. A complex makefile
  • 14. A complex makefile‣ This makefile uses Pressflow, specific module versions with patches, external libraries, and Github repos – all into one makefile.‣ It might error out, but it never screws up the way a human often will (i.e. without admitting it)‣ http://drupalcode.org/project/brightcove_recorder.git/blob_plain/ 9286c8354ab74b779b3c6260bbda48f74311451e:/examples/brightcove_recorder_quickstart.make
  • 15. drush make saves time
  • 16. drush make saves time‣ Use drush make with Ægir to deploy a common setup as often as you need‣ Have your company’s “standard install” at your fingertips‣ Enhance your favorite distro or installation profile with the modules you always have to add
  • 17. Creating makefiles
  • 18. Creating makefiles‣ Similar to the .info file of a module or theme‣ Can be as general or specific as you need‣ http://drupalcode.org/project/drush_make.git/ blob_plain/refs/heads/6.x-2.x:/EXAMPLE.make
  • 19. if you don’t want to...Credits
  • 20. projects[plug] = http://drushmake.meSource: https://github.com/rupl/drush_make_generator
  • 21. projects[plug] = http://drushmake.me Drush Make Generator!!! Provides a GUI for creating makefiles. Even less work :)Source: https://github.com/rupl/drush_make_generator
  • 22. DrushMake.me examples‣ http://drushmake.me/a/helloworld
  • 23. Thank You! Chris Ruppel http://twitter.com/rupl http://drupal.org/user/411999 http://github.com/rupl2011.07.09 - Dallas Drupal Dayshttp://dallasdrupal.org/sessions/drush-make-install-pro