• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Drupal Deployment
 

Drupal Deployment

on

  • 36,989 views

A gentle introduction to Drupal site deployment best practices, from the Do It With Drupal conference.

A gentle introduction to Drupal site deployment best practices, from the Do It With Drupal conference.

Statistics

Views

Total Views
36,989
Views on SlideShare
36,308
Embed Views
681

Actions

Likes
61
Downloads
801
Comments
6

24 Embeds 681

http://media.7 273
http://www.slideshare.net 195
http://dev.bvic.krimson.be 95
http://storify.com 19
http://paper.li 17
http://surfmagix.com 16
http://electronicintifada.7 10
http://channelsoftech.com 8
http://jimdev.bvic 7
http://nextleveldrupal.local 7
https://twimg0-a.akamaihd.net 5
https://twitter.com 4
http://worldofdrupal.local 4
https://si0.twimg.com 3
http://nextleveldrupal.com 3
http://us-w1.rockmelt.com 3
http://www.linkedin.com 2
http://www.c2is.fr 2
http://localhost 2
http://slideshare6.dev 2
http://bagtheweb.com 1
http://sociology-staging.trinity.duke.edu 1
http://moodle.muctr.ru 1
http://www.pearltrees.com 1
More...

Accessibility

Categories

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.

Cancel

16 of 6 previous next Post a comment

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

    Drupal Deployment Drupal Deployment Presentation Transcript

    • Deployment The darkest of the Drupal arts
    • Moving stuff to your live site
    • Moving stuff to your live site (And living to tell about it)
    • Deployment’s Five Commandments
    • Thou Shalt Use Source Control You will always collide with “The Other Guy” You will always need to undo something
    • Thou Shalt Smack Anyone Who Doesn’t It’s not really source control if Bob keeps changing things via FTP
    • Thou Shalt Use Code Whenever Possible Code lives in source control Code is safer than the database
    • Thou Shalt Test Thy Changes It always works just fine on your laptop
    • Thou Shalt Document You will always be on vacation when the really big emergency happens
    • The Launch
    • Dev laptop cvs.drupal.org SVN server Live server
    • What’s in SVN? public_html assets db_snapshots
    • What’s in SVN? public_html assets db_snapshots
    • What’s in SVN? public_html sites assets www.mysite.com files db_snapshots
    • What’s in SVN? public_html sites assets www.mysite.com files db_snapshots
    • The magic of symlinks VERSION_1 public_html VERSION_2
    • The magic of symlinks VERSION_1 public_html VERSION_2 VERSION_3
    • Fixin’ Bugs, Addin’ Features
    • Dev laptop SVN server Live server
    • Dev laptop SVN server Test server Live server
    • Dev laptop SVN server Test server Live server db_snapshots
    • Dev laptop SVN server Test server Live server db_snapshots
    • Test, Test, Test
    • Test
    • Then Test
    • Wipe the database then test again
    • Dev laptop SVN server Test server Live server db_snapshots
    • Don’t hack live
    • Configuration Changes
    • Export your Views
    • Export your Views your_module.views_defaults.inc hook_views_default_views()
    • Use update.php!
    • Use update.php!
    • simpletest.install
    • http://api.drupal.org/api/function/hook_update_N
    • Use helper functions, not interns
    • Use helper functions, not interns CCK fields
    • Use helper functions, not interns CCK fields Imagecache presets
    • Use helper functions, not interns CCK fields Imagecache presets Rules configuration
    • Use helper functions, not interns CCK fields Imagecache presets Rules configuration Menu items
    • Use helper functions, not interns CCK fields Imagecache presets Rules configuration Menu items Taxonomy terms…
    • Use helper functions, not interns CCK fields Imagecache presets Rules configuration Menu items Taxonomy terms… Install Profile API
    • Devel module
    • Wipe the database then test
    • Test, Test, Test
    • Test
    • Then Test
    • Syncing Content
    • e ID 259 Nod ALSO Node ID 259
    • Nodes my way by the Psychedelic Furs
    • Nodes my way, Part 2 by the Psychedelic Furs
    • Nodes my way, Epilogue by the Psychedelic Furs http://drupal.org/project/export_node
    • Yeah, but...
    • Don’t syncronize content.
    • Don’t syncronize content. Feed API Publish and Subscribe Aggregator Import/Export...
    • Workflow Moderation Drafts Editor Roles
    • No Magic Bullets
    • No Magic Bullets • Figure out your organization
    • No Magic Bullets • Figure out your organization • Find matching tools
    • No Magic Bullets • Figure out your organization • Find matching tools • Roll your own
    • No Magic Bullets • Figure out your organization • Find matching tools • Roll your own • Document! Document! Document!
    • Tools to watch • Drush (do Drupal stuff from the command line) http://drupal.org/project/drush • Install Profile API (helper code for updates) http://drupal.org/project/install_profile_api • Patterns (save site configuration in XML) http://drupal.org/project/patterns • Deployment (push site changes via XMLRPC) http://drupal.org/project/deploy • Aegir (manage multiple sites from one UI) http://groups.drupal.org/aegir-hosting-system