SlideShare a Scribd company logo
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
Powerful Drupal
Administration
Using Drush
J A N 1 0 , 2 0 1 2
EXIT
STAUFFER NEW MEDIA DEVELOPMENT
EXIT
2
ABOUTME
AUTHOR
• Drupal Themes on Lynda.com
• Drupal & Flex book (2007)
CONTRIBUTOR
• Donate and contribute Drupal code
• Level 7 on CertifiedToRock.com
• Drupal since 2005
COMMUNITY LEADER
• Organizer, Speaker, Volunteer
• Teaching since 2007
SENIOR CONSULTANT
• Stauffer.com (based in L.A.)
• PHP/Drupal
• Web Architecture & Development
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
EXIT
3
PART#2
Site Aliases
Part 1 Part 2 Part 3
STAUFFER NEW MEDIA DEVELOPMENT
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
Policy Files
EXIT
4
ALIASRECAP
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
STAUFFER NEW MEDIA DEVELOPMENT
@self
@dev
@stage
@prod
STAUFFER NEW MEDIA DEVELOPMENT
EXIT
5
ALIASRECAP
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
Easy database syncing:
drush sync @dev @stage
Easy file syncing:
drush rsync @stage @prod
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
STAUFFER NEW MEDIA DEVELOPMENT
EXIT
6
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
Drush Policy Files
Define when certain commands
are not allowed.
EXIT
7
BESTPRACTICE
DEVELOPMENT
“Dev”
DEV STAGE PROD
STAGING
“Stage”
PRODUCTION
“Prod” a.k.a. “Live”
STAUFFER NEW MEDIA DEVELOPMENT
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
EXIT
8
BADPRACTICE
DEVELOPMENT
“Dev”
DEV STAGE PROD
STAGING
“Stage”
PRODUCTION
“Prod” a.k.a. “Live”
STAUFFER NEW MEDIA DEVELOPMENT
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
EXIT
9
WITHPOLICIES
DEVELOPMENT
“Dev”
DEV STAGE PROD
STAGING
“Stage”
PRODUCTION
“Prod” a.k.a. “Live”
STAUFFER NEW MEDIA DEVELOPMENT
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
STAUFFER NEW MEDIA DEVELOPMENT
EXIT
10
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
STAGING PROD
DEV
STAGING
ALLOW ALLOW
- ALLOW
WITHOUTPOLICY
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
STAUFFER NEW MEDIA DEVELOPMENT
EXIT
11
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
STAGING PROD
DEV
STAGING
FORGOTTEN
CHANGES
DESTROY
WORK
- OLD COPY
TOTALCHAOS
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
STAUFFER NEW MEDIA DEVELOPMENT
EXIT
12
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
STAGING PROD
DEV
STAGING
ALLOW DISALLOW
- DISALLOW
DEFAULTPOLICY
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
STAUFFER NEW MEDIA DEVELOPMENT
EXIT
13
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
STAGING PROD
DEV
STAGING
DISALLOW DISALLOW
- DISALLOW
STRICTESTPOLICY
EXIT
14
DENIALSCENARIOS
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
STAUFFER NEW MEDIA DEVELOPMENT
1.Sync only between certain hours.
2.Allow only certain server user or group.
3.Only if a release token is present.
4.When site traffic is low (via scripts).
5.Calendar check if the office is closed.
6.Anything PHP can conjure up.
EXIT
15
ADOPTIONGAINS
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
STAUFFER NEW MEDIA DEVELOPMENT
Stability
Standards
Share
Archive
EXIT
16
ADVANCEDUSES
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
STAUFFER NEW MEDIA DEVELOPMENT
1.Notify when a command starts.
2.Log when a command was denied.
3.Generate backups before & after updates.
4.Disable cron temporarily.
5.Anything PHP can conjure up.
STAUFFER NEW MEDIA DEVELOPMENT
EXIT
17
DOCUMENTATION
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
drush docs-policy
General docs & example code
www.drush.org
P: 949-230-3594 / ccharlton@stauffer.com
www.Stauffer.com
THANKYOUATTEND FUTURE MEETUPS FOR PART 3
EXIT
STAUFFER NEW MEDIA DEVELOPMENT
Now
Hiring

More Related Content

More from Chris Charlton

Drupal Form API 101 (PHP) - DrupalCamp LA 2012
Drupal Form API 101 (PHP) - DrupalCamp LA 2012Drupal Form API 101 (PHP) - DrupalCamp LA 2012
Drupal Form API 101 (PHP) - DrupalCamp LA 2012
Chris Charlton
 
Drupal Developer Skills (2012) - DrupalCamp LA 2012
Drupal Developer Skills (2012) - DrupalCamp LA 2012Drupal Developer Skills (2012) - DrupalCamp LA 2012
Drupal Developer Skills (2012) - DrupalCamp LA 2012
Chris Charlton
 
Sassy CSS (part 2) (Drupal Camp LA 2013)
Sassy CSS (part 2) (Drupal Camp LA 2013)Sassy CSS (part 2) (Drupal Camp LA 2013)
Sassy CSS (part 2) (Drupal Camp LA 2013)
Chris Charlton
 
Lightning Talk: Drush aliases (Drupal Camp LA 2013)
Lightning Talk: Drush aliases (Drupal Camp LA 2013)Lightning Talk: Drush aliases (Drupal Camp LA 2013)
Lightning Talk: Drush aliases (Drupal Camp LA 2013)Chris Charlton
 
Site Aliases: Powerful Drupal Administration Using Drush by Chris Charlton
Site Aliases: Powerful Drupal Administration Using Drush by Chris CharltonSite Aliases: Powerful Drupal Administration Using Drush by Chris Charlton
Site Aliases: Powerful Drupal Administration Using Drush by Chris CharltonChris Charlton
 
Drush 5.0 (DrupalCamp LA 2012) - Chris Charlton
Drush 5.0 (DrupalCamp LA 2012) - Chris CharltonDrush 5.0 (DrupalCamp LA 2012) - Chris Charlton
Drush 5.0 (DrupalCamp LA 2012) - Chris Charlton
Chris Charlton
 
Changes to Drupal Themes in version 7 (part 1)
Changes to Drupal Themes in version 7 (part 1)Changes to Drupal Themes in version 7 (part 1)
Changes to Drupal Themes in version 7 (part 1)
Chris Charlton
 
Web Content Management Systems From A Designer's Perspective (Drupal Technica...
Web Content Management Systems From A Designer's Perspective (Drupal Technica...Web Content Management Systems From A Designer's Perspective (Drupal Technica...
Web Content Management Systems From A Designer's Perspective (Drupal Technica...
Chris Charlton
 
Let's Zen! (Stop Theming From Scratch)
Let's Zen! (Stop Theming From Scratch)Let's Zen! (Stop Theming From Scratch)
Let's Zen! (Stop Theming From Scratch)
Chris Charlton
 
Flex Flash Air Interfaces for Custom Content Types in Drupal Chris Charlton
Flex Flash Air Interfaces for Custom Content Types in Drupal   Chris CharltonFlex Flash Air Interfaces for Custom Content Types in Drupal   Chris Charlton
Flex Flash Air Interfaces for Custom Content Types in Drupal Chris Charlton
Chris Charlton
 
Better Drupal Interaction Design with Flex
Better Drupal Interaction Design with FlexBetter Drupal Interaction Design with Flex
Better Drupal Interaction Design with Flex
Chris Charlton
 

More from Chris Charlton (11)

Drupal Form API 101 (PHP) - DrupalCamp LA 2012
Drupal Form API 101 (PHP) - DrupalCamp LA 2012Drupal Form API 101 (PHP) - DrupalCamp LA 2012
Drupal Form API 101 (PHP) - DrupalCamp LA 2012
 
Drupal Developer Skills (2012) - DrupalCamp LA 2012
Drupal Developer Skills (2012) - DrupalCamp LA 2012Drupal Developer Skills (2012) - DrupalCamp LA 2012
Drupal Developer Skills (2012) - DrupalCamp LA 2012
 
Sassy CSS (part 2) (Drupal Camp LA 2013)
Sassy CSS (part 2) (Drupal Camp LA 2013)Sassy CSS (part 2) (Drupal Camp LA 2013)
Sassy CSS (part 2) (Drupal Camp LA 2013)
 
Lightning Talk: Drush aliases (Drupal Camp LA 2013)
Lightning Talk: Drush aliases (Drupal Camp LA 2013)Lightning Talk: Drush aliases (Drupal Camp LA 2013)
Lightning Talk: Drush aliases (Drupal Camp LA 2013)
 
Site Aliases: Powerful Drupal Administration Using Drush by Chris Charlton
Site Aliases: Powerful Drupal Administration Using Drush by Chris CharltonSite Aliases: Powerful Drupal Administration Using Drush by Chris Charlton
Site Aliases: Powerful Drupal Administration Using Drush by Chris Charlton
 
Drush 5.0 (DrupalCamp LA 2012) - Chris Charlton
Drush 5.0 (DrupalCamp LA 2012) - Chris CharltonDrush 5.0 (DrupalCamp LA 2012) - Chris Charlton
Drush 5.0 (DrupalCamp LA 2012) - Chris Charlton
 
Changes to Drupal Themes in version 7 (part 1)
Changes to Drupal Themes in version 7 (part 1)Changes to Drupal Themes in version 7 (part 1)
Changes to Drupal Themes in version 7 (part 1)
 
Web Content Management Systems From A Designer's Perspective (Drupal Technica...
Web Content Management Systems From A Designer's Perspective (Drupal Technica...Web Content Management Systems From A Designer's Perspective (Drupal Technica...
Web Content Management Systems From A Designer's Perspective (Drupal Technica...
 
Let's Zen! (Stop Theming From Scratch)
Let's Zen! (Stop Theming From Scratch)Let's Zen! (Stop Theming From Scratch)
Let's Zen! (Stop Theming From Scratch)
 
Flex Flash Air Interfaces for Custom Content Types in Drupal Chris Charlton
Flex Flash Air Interfaces for Custom Content Types in Drupal   Chris CharltonFlex Flash Air Interfaces for Custom Content Types in Drupal   Chris Charlton
Flex Flash Air Interfaces for Custom Content Types in Drupal Chris Charlton
 
Better Drupal Interaction Design with Flex
Better Drupal Interaction Design with FlexBetter Drupal Interaction Design with Flex
Better Drupal Interaction Design with Flex
 

Recently uploaded

Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
kalichargn70th171
 
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
mz5nrf0n
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
Hironori Washizaki
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Mind IT Systems
 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
Roshan Dwivedi
 

Recently uploaded (20)

Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
 
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
 

Policy File: Powerful Drupal Administration Using Drush

  • 1. P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com Powerful Drupal Administration Using Drush J A N 1 0 , 2 0 1 2 EXIT
  • 2. STAUFFER NEW MEDIA DEVELOPMENT EXIT 2 ABOUTME AUTHOR • Drupal Themes on Lynda.com • Drupal & Flex book (2007) CONTRIBUTOR • Donate and contribute Drupal code • Level 7 on CertifiedToRock.com • Drupal since 2005 COMMUNITY LEADER • Organizer, Speaker, Volunteer • Teaching since 2007 SENIOR CONSULTANT • Stauffer.com (based in L.A.) • PHP/Drupal • Web Architecture & Development P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com
  • 3. EXIT 3 PART#2 Site Aliases Part 1 Part 2 Part 3 STAUFFER NEW MEDIA DEVELOPMENT P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com Policy Files
  • 4. EXIT 4 ALIASRECAP P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com STAUFFER NEW MEDIA DEVELOPMENT @self @dev @stage @prod
  • 5. STAUFFER NEW MEDIA DEVELOPMENT EXIT 5 ALIASRECAP P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com Easy database syncing: drush sync @dev @stage Easy file syncing: drush rsync @stage @prod
  • 6. P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com STAUFFER NEW MEDIA DEVELOPMENT EXIT 6 P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com Drush Policy Files Define when certain commands are not allowed.
  • 7. EXIT 7 BESTPRACTICE DEVELOPMENT “Dev” DEV STAGE PROD STAGING “Stage” PRODUCTION “Prod” a.k.a. “Live” STAUFFER NEW MEDIA DEVELOPMENT P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com
  • 8. EXIT 8 BADPRACTICE DEVELOPMENT “Dev” DEV STAGE PROD STAGING “Stage” PRODUCTION “Prod” a.k.a. “Live” STAUFFER NEW MEDIA DEVELOPMENT P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com
  • 9. EXIT 9 WITHPOLICIES DEVELOPMENT “Dev” DEV STAGE PROD STAGING “Stage” PRODUCTION “Prod” a.k.a. “Live” STAUFFER NEW MEDIA DEVELOPMENT P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com
  • 10. P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com STAUFFER NEW MEDIA DEVELOPMENT EXIT 10 P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com STAGING PROD DEV STAGING ALLOW ALLOW - ALLOW WITHOUTPOLICY
  • 11. P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com STAUFFER NEW MEDIA DEVELOPMENT EXIT 11 P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com STAGING PROD DEV STAGING FORGOTTEN CHANGES DESTROY WORK - OLD COPY TOTALCHAOS
  • 12. P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com STAUFFER NEW MEDIA DEVELOPMENT EXIT 12 P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com STAGING PROD DEV STAGING ALLOW DISALLOW - DISALLOW DEFAULTPOLICY
  • 13. P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com STAUFFER NEW MEDIA DEVELOPMENT EXIT 13 P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com STAGING PROD DEV STAGING DISALLOW DISALLOW - DISALLOW STRICTESTPOLICY
  • 14. EXIT 14 DENIALSCENARIOS P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com STAUFFER NEW MEDIA DEVELOPMENT 1.Sync only between certain hours. 2.Allow only certain server user or group. 3.Only if a release token is present. 4.When site traffic is low (via scripts). 5.Calendar check if the office is closed. 6.Anything PHP can conjure up.
  • 15. EXIT 15 ADOPTIONGAINS P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com STAUFFER NEW MEDIA DEVELOPMENT Stability Standards Share Archive
  • 16. EXIT 16 ADVANCEDUSES P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com STAUFFER NEW MEDIA DEVELOPMENT 1.Notify when a command starts. 2.Log when a command was denied. 3.Generate backups before & after updates. 4.Disable cron temporarily. 5.Anything PHP can conjure up.
  • 17. STAUFFER NEW MEDIA DEVELOPMENT EXIT 17 DOCUMENTATION P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com drush docs-policy General docs & example code www.drush.org
  • 18. P: 949-230-3594 / ccharlton@stauffer.com www.Stauffer.com THANKYOUATTEND FUTURE MEETUPS FOR PART 3 EXIT STAUFFER NEW MEDIA DEVELOPMENT Now Hiring