Drush Aegir & Drush, Drupal Roadshow Austria


Published on

Published in: Technology
1 Comment
1 Like
  • I look for commands of Drush that I can use to go to any website created on Aegir. Right now I have to use 'cd /path to site directory' it take long time to find. Where can I read all DRUSH and Aegir related commands?
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Drush Aegir & Drush, Drupal Roadshow Austria

  1. 1. Lightning fast site building with Aegir (and Drush) Drupal Roadshow in Klagenfurt Get the presentation from Berlin on Slideshare: http://slidesha.re/k4aY6vIztok Smolič | @iztok | iztok@etelje.com | iztoksmolic.com
  2. 2. About * only user of Drush and Aegir – not involved in development Drupal developer and designer Co-founder of ETELJE, Drupal design & development shop Organizing Drupal events in Slovenia Drupal Slovenia has ~20 active memberst: @iztok w: iztoksmolic.com
  3. 3. Ægir Host your sites with stylet: @iztok w: iztoksmolic.com
  4. 4. What is Ægir? Hosting system for managing Drupal sites It is basicaly a Drupal site with which you can control all of your hosted sites You can run tasks like: Create, disable, delete sites Backup site, restore backups Migrate (update) sitest: @iztok w: iztoksmolic.com
  5. 5. Installation Ægir is only a set of modules: Hostmaster (http://drupal.org/project/provision) Drush (http://drupal.org/project/drush) Provision (http://drupal.org/project/provision) Eldir Theme Installation: http://community.aegirproject.org/installing apt-get install aegir Hosted solutions like omega8.cc and Koumbit Discussion and support: http://community.aegirproject.org/discussion IRC: #aegir @ irc.freenode.nett: @iztok w: iztoksmolic.com
  6. 6. AegirstructureServerAdditional to localhost we canhave multiple servers controlledby one Ægir instancePlatformDrupal core or distributionlocated on a server.SiteInstance of one site inside aplatform. Regular multisitestructure.t: @iztok w: iztoksmolic.com
  7. 7. Multisitestructure Modules and themes from directory “all” are available by all sites in the platformt: @iztok w: iztoksmolic.com
  8. 8. Tips Updating site’s core with migrate task example: create new platform Drupal 7.2 and migrate from D 7.0 to D 7.2 platform works for major versions migrations too (Ægir also checks if modules are available for destination version) Clone site and perform module updates (you keep the production site safe)t: @iztok w: iztoksmolic.com
  9. 9. Host distributions! Distributions are Drupal’s packaged profiles for specific use. Acquia 6 & 7 OpenPublic OpenAtrium ManagingNews Drupal Commons COD OpenScholar Open Enterprise Make you own “distributions” with favorite modules or even installation profile.t: @iztok w: iztoksmolic.com
  10. 10. Advance use Host sites on multiple servers – control with one Ægir instance Using Ægir in deployment workflow best practice: (http://greenbeedigital.com.au/content/drupal- deployments-workflows-version-control-drushmake-and- aegir) using platform for one site, versioned Allowing clients to manage own sites – making a real hosting platform Expand: http://community.aegirproject.org/contrib-modulest: @iztok w: iztoksmolic.com
  11. 11. Drush Must have for all site builderst: @iztok w: iztoksmolic.com
  12. 12. What is drush? Drush is a command line shell and scripting interface for Drupal Controlling your Drupal site outside of the browser, from a terminal, (shell, command line, …) Can be used without Ægir Drush can be used on your local machine (works on Win, OSX and Linux) http://drupal.org/project/drusht: @iztok w: iztoksmolic.com
  13. 13. Use cases and examples Site has a broken theme function and you can’t even navigate to the performance page to clear the cache! solution: drush cc all You need to update the sites’ modules and themes. much easier and faster: drush up You download views and before enabling it you find out that module ctools is needed! drush dl views, drush en views_ui it will download and enable all dependencies modules You forgot the admin password: drush ulit: @iztok w: iztoksmolic.com
  14. 14. Demo Time Get yours at http://omega8.cc/contact/Demot: @iztok w: iztoksmolic.com
  15. 15. email me: iztok@etelje.com tweet: @iztokt: @iztok w: iztoksmolic.com