Drupal Developers Day     Microsoft Philippines6750 Ayala Avenue, Makati City                                 10-27-2012
Automating Drupal       DeploymentVersion Control + Drush + Features           Gerald Z. Villorente     Kite Systems Ltd. ...
Who am I* Opensource advocate for 4 years* Drupal user since 2010 (developer/themer)* System administrator* Developer at K...
Deployment
Typical Environment
Deployment Mistakes
Manual Configuration
Production       Dev ServerStaging Server   Local Dev
Version Control“is any practice that tracks and provides control   over changes to source code”– From Wikipedia
Internal Server Error  404 Not Found                             409 ConflictOut of Resources                    Gateway  ...
Version Control (Git, SVN, CVS)
How version control works?
Ok version control rocks,    but how about theconfiguration changes that     I need to deploy?
Features module – theanswer to your question! “The features module enables the capture and management of features in Drupa...
Alright thats (Features)really awesome! But what if there is any other features   of Drupal that Features      doesnt supp...
Easy boy! We still have an        option.    hook_update_N( )
Tools you need     + SSH
Avoid repetitive task Use shell script!
Note: You can use CIserver and put all yourshell script to run every          build
CI (Jenkins)
Remember!* Development plan
Remember!* Development plan* Test plan
Remember!* Development plan* Test plan* Documentation
Remember!Local
Remember!Local        Dev
Remember!Local        Dev              Staging
Remember!Local        Dev              Staging                        Prod
AlwaysTest, test, test!
Questions?
Upcoming SlideShare
Loading in …5
×

Automating Drupal Deployment

1,582 views

Published on

Drupal deployment, Git. Drush, and Features module.

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

No Downloads
Views
Total views
1,582
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
19
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Automating Drupal Deployment

  1. 1. Drupal Developers Day Microsoft Philippines6750 Ayala Avenue, Makati City 10-27-2012
  2. 2. Automating Drupal DeploymentVersion Control + Drush + Features Gerald Z. Villorente Kite Systems Ltd. | CNN Travel
  3. 3. Who am I* Opensource advocate for 4 years* Drupal user since 2010 (developer/themer)* System administrator* Developer at Kite Systems Ltd.
  4. 4. Deployment
  5. 5. Typical Environment
  6. 6. Deployment Mistakes
  7. 7. Manual Configuration
  8. 8. Production Dev ServerStaging Server Local Dev
  9. 9. Version Control“is any practice that tracks and provides control over changes to source code”– From Wikipedia
  10. 10. Internal Server Error 404 Not Found 409 ConflictOut of Resources Gateway TimeoutBad Request PDO Error 403 Forbidden Syntax Error Invalid Operand Types Access Denied
  11. 11. Version Control (Git, SVN, CVS)
  12. 12. How version control works?
  13. 13. Ok version control rocks, but how about theconfiguration changes that I need to deploy?
  14. 14. Features module – theanswer to your question! “The features module enables the capture and management of features in Drupal.”
  15. 15. Alright thats (Features)really awesome! But what if there is any other features of Drupal that Features doesnt support?
  16. 16. Easy boy! We still have an option. hook_update_N( )
  17. 17. Tools you need + SSH
  18. 18. Avoid repetitive task Use shell script!
  19. 19. Note: You can use CIserver and put all yourshell script to run every build
  20. 20. CI (Jenkins)
  21. 21. Remember!* Development plan
  22. 22. Remember!* Development plan* Test plan
  23. 23. Remember!* Development plan* Test plan* Documentation
  24. 24. Remember!Local
  25. 25. Remember!Local Dev
  26. 26. Remember!Local Dev Staging
  27. 27. Remember!Local Dev Staging Prod
  28. 28. AlwaysTest, test, test!
  29. 29. Questions?

×