BADCamp 2008 Core Crazy

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Event

    BADCamp 2008 Core Crazy - Presentation Transcript

    1. Core Crazy Shaun Haber Warner Bros. Records
    2. What is it? • Basically, a look into how Warner Bros. Records uses Drupal!
    3. Who the hell am I?
    4. Warner Music Group
    5. Warner Bros. Records • Subsidiary of Warner Music Group • Family of labels (Reprise, Sire, etc.) • Over 100 artists • Top-selling albums • It’s music biz after all!
    6. So what?
    7. WBR Tech • Only label with an in-house Tech team • “Start-up” mentality • Fast-paced, hectic, and fun! • We use Drupal... religiously
    8. 93 Drupal Sites 1 new site every week
    9. Launching like crazy!
    10. How do we do it?
    11. It’s not magic!
    12. Give each website its own vhost!
    13. Drupal core and vhosts Conf: DocumentRoot /path/to/drupal/core BAD
    14. Drupal core and vhosts Conf: DocumentRoot /path/to/website File System: /path/to/website -> /path/to/drupal/core GOOD
    15. Why? • Flexibility • Maintainability • Core Crazy!
    16. Remember these items • Apache’s mod_vhost_alias • Symbolic links • Subversion • Drupal’s CVS • Shell scripts
    17. Mod_vhost_alias • Dynamic vhosts!
    18. It’s a VirtualDocumentRoot
    19. VirtualDocumentRoot /websites/%0 iamlights.com /websites/iamlights.com ericbenet.net /websites/ericbenet.net tour.remhq.com /websites/tour.remhq.com
    20. Why this kicks ass! • Don’t need to edit conf • Don’t need to add new vhosts • Don’t need to restart Apache! • Seriously, this rocks
    21. 2 part domain: VirtualDocumentRoot /websites/%0/www iamlights.com /websites/iamlights.com/www ericbenet.net /websites/ericbenet.net/www tour.remhq.com (see next slide)
    22. 3 part domain: VirtualDocumentRoot /websites/%2+/%1 www.iamlights.com /websites/iamlights.com/www www.ericbenet.net /websites/ericbenet.net/www tour.remhq.com /websites/remhq.com/tour
    23. http://httpd.apache.org/ docs/2.0/mod/ mod_vhost_alias.html
    24. Source: http://flickr.com/photos/iguanajo/109613363 Symbolic Links
    25. ln -s /path/to/src alias
    26. /drupal/5.10 iamlights.com /drupal/5.11
    27. Simply change the symlink! /drupal/5.10 iamlights.com /drupal/5.11
    28. /drupal/5.10 /sites /drupal/5.11 /sites /drupal/shared /sites
    29. All cores share some stuff! /drupal/5.10 /sites /drupal/5.11 /sites /drupal/shared /sites
    30. /drupal/shared /sites /lights /sites/lights /settings.php /modules /themes
    31. /drupal/shared Dev and Prod envs! /sites /lights /iamlights.com /iamlights.wbrdev.com /sites/lights /settings.php /modules /themes
    32. /sites/lights /settings.php /modules /cck /drupal/modules/contrib /cck /5.x-1.6 /5.x-1.7
    33. /sites/lights Simply change the symlink! /settings.php /modules /cck /drupal/modules/contrib /cck /5.x-1.6 /5.x-1.7
    34. /drupal/shared Safe modules in sites/all /sites/all /modules /drupal/modules/contrib /admin_menu /5.x-2.5
    35. It’s symlink madness!
    36. Subversion • /drupal5x /cores /sites /modules /contrib /custom
    37. Drupal CVS • http://cvs.drupal.org/viewvc.py/drupal/
    38. Shell Script
    39. Questions? • Shaun Haber shaun.haber@wbr.com http://srhaber.com Twitter: @srhaber

    Shaun HaberShaun Haber, 8 months ago

    custom

    611 views, 0 favs, 0 embeds more stats

    http://badcamp.net/session/core-crazy

    More Info

    © All Rights Reserved

    Go to text version
    • Total Views 611
      • 611 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 1
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as innappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel

    Categories

    Groups / Events