SlideShare uma empresa Scribd logo
1 de 24
Baixar para ler offline
Drupal 8
Configuration Management
for you and your team
About me
Luc Bezier, Drupal & Web freelance.
Founded micro company webizat in 2011.
URL: webizat.com
Worked with BBC Worldwide, UK Government
agency, Ben&Jerry’s, European commission …
Solution Architect & Consultant
Architecture and drupal development
on large projects.
Team continuous improvement
Part of my work I really enjoy is to help teams
being more efficient with Drupal.
Workflow
Tools
Communication
Software Configuration Management
In software engineering, software configuration
management (SCM or S/W CM) is the task of
tracking and controlling changes in the software, part
of the larger cross-disciplinary field of configuration
management. SCM practices include revision control
and the establishment of baselines.
Thanks Wikipedia.
Software Configuration Management
In software engineering, software configuration
management (SCM or S/W CM) is the task of
tracking and controlling changes in the software, part
of the larger cross-disciplinary field of configuration
management. SCM practices include revision control
and the establishment of baselines.
Thanks Wikipedia.
SCM in Drupal
Examples of configuration on Drupal:
Content type, Fields, Views, Images sizes.
Track and control changes on files,
not database.
Deployment and synchronization
Arnold changes a field configuration,
updates the configuration files,
share the changes using git.
Mary reviews and pulls the changes using git.
The client, Stephen, is very happy with the results.
The changes will be deployed to production using the
new files.
No database import or export.
Drupal 7: We got it wrong
We used a contributed module called Features.
It was made to group together functionalities to
answer a specific use case.
What we did with Features?
We build a complex deployment system.
Drupal 8: Modern configuration manager
Made to synchronize environments and helps to
manage complexity, paired with git.
Small, meaningful and organized files
Drupal 8: Modern configuration manager
Small: reduces git conflicts
Meaningful: YAML syntax
Organized: Automatically named / placed
Also ...
Automated: Imports / exports using command line
On D8 core: No extra download needed
Drupal 8: Modern configuration manager
No custom code in your configuration.
Your configuration is based on
auto-generated YAML files.
You can however extend the generation
of those YAML files.
Configuration manager for your team
Highly recommended with the configuration
manager:
Git
Drush
Drupal configuration installer
Configuration manager for your team
Location of the configuration by default:
sites/default/files/config_HASH/staging
Recommended location: outside drupal.
And update your settings.php like:
$config_directories['sync'] = '../config/sync';
I would usually commit settings.php and
enable the use of settings.local.php
(that one will never be on git)
Configuration manager for your team
Configuration import:
$ drush cim
Configuration export:
$ drush cex
Full export, then select in git which
configuration files you wish to update.
Configuration manager for your team
Simple configuration & configuration entities.
Simple configuration example:
system.maintenance.yml, your website
maintenance message.
Configuration entities example:
core.entity_view_mode.user.full.yml,
a view configuration for the users accounts.
Configuration manager for your team
The configuration management system is meant to
exist for one specific project, not shared projects.
Configuration entities have a uuid.
It means those configurations are for a particular
Drupal website.
Example:
uuid: 345d5f90-842c-4344-84e5-47a806a52822
Configuration manager for your team
By default, you can not import existing
configurations, every installation
will generate new uuids.
Environments who do not share the same uuid, will
not be able to import the configuration.
Configuration manager for your team
Solution: Configuration installer
The Configuration Installer is a installation profile that
takes over the Drupal installer and allows sites to be
created from existing configuration.
drupal.org/project/config_installer
Configuration manager for your team
Solution: Configuration installer
It’s an installation profile and placed under the
“profiles” directory.
Your team can now share
the project’s configuration:
$ drush site-install config_installer
--config-dir=../config/sync
Configuration manager for your team
Solution: Configuration installer
There is a ticket on drupal.org for this to be included
in core. But it’s still a work in progress.
https://www.drupal.org/node/1613424
Configuration manager for your team
Your custom modules can for example:
Define their own configuration entity types.
Use their own yaml configuration files, inside the
module’s directory.
More about Drupal 8’s SCM
Book
Drupal 8 Configuration Management
by Stefan Borchert, Anja Schirwinski
Upcoming blog post on webizat.com
Thanks
Twitter @luukyb
email: luc [at] webizat.com
web: webizat.com

Mais conteúdo relacionado

Mais procurados

Upgrading your site from Drupal 6 to Drupal 7
Upgrading your site from Drupal 6 to Drupal 7Upgrading your site from Drupal 6 to Drupal 7
Upgrading your site from Drupal 6 to Drupal 7Andrew Martha
 
Introduction to Module Development (Drupal 7)
Introduction to Module Development (Drupal 7)Introduction to Module Development (Drupal 7)
Introduction to Module Development (Drupal 7)April Sides
 
[drupalday2017] - Devel - D8 release party
[drupalday2017] - Devel - D8 release party[drupalday2017] - Devel - D8 release party
[drupalday2017] - Devel - D8 release partyDrupalDay
 
Drupal Developer Days Keynote
Drupal Developer Days KeynoteDrupal Developer Days Keynote
Drupal Developer Days KeynoteAngela Byron
 
Are you ready for Drupal 8?
Are you ready for Drupal 8?Are you ready for Drupal 8?
Are you ready for Drupal 8?Stephanie Peugh
 
COSA SIGNIFICA CONVERTIRE UN MODULO DA D7 A D8
COSA SIGNIFICA CONVERTIRE UN MODULO DA D7 A D8COSA SIGNIFICA CONVERTIRE UN MODULO DA D7 A D8
COSA SIGNIFICA CONVERTIRE UN MODULO DA D7 A D8Roberto Peruzzo
 
Building and Maintaining a Distribution in Drupal 7 with Features
Building and Maintaining a  Distribution in Drupal 7 with FeaturesBuilding and Maintaining a  Distribution in Drupal 7 with Features
Building and Maintaining a Distribution in Drupal 7 with FeaturesNuvole
 
Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!
Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!
Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!DrupalCamp Kyiv
 
大規模サイトにおけるユーザーレベルのキャッシュ活用によるパフォーマンスチューニング
大規模サイトにおけるユーザーレベルのキャッシュ活用によるパフォーマンスチューニング大規模サイトにおけるユーザーレベルのキャッシュ活用によるパフォーマンスチューニング
大規模サイトにおけるユーザーレベルのキャッシュ活用によるパフォーマンスチューニングYoshikazu Aoyama
 
Water Torture Upgrades - Drupal 5 to 6
Water Torture Upgrades - Drupal 5 to 6Water Torture Upgrades - Drupal 5 to 6
Water Torture Upgrades - Drupal 5 to 6Angus Pratt
 
Best Practice Site Architecture in Drupal 8
Best Practice Site Architecture in Drupal 8Best Practice Site Architecture in Drupal 8
Best Practice Site Architecture in Drupal 8Pantheon
 
The Flexibility of Drupal 8 | DCNLights 2017
The Flexibility of Drupal 8 | DCNLights 2017The Flexibility of Drupal 8 | DCNLights 2017
The Flexibility of Drupal 8 | DCNLights 2017Michael Miles
 
Drupal 8 CMI on a Managed Workflow
Drupal 8 CMI on a Managed WorkflowDrupal 8 CMI on a Managed Workflow
Drupal 8 CMI on a Managed WorkflowPantheon
 
Drupal Migrations in 2018
Drupal Migrations in 2018Drupal Migrations in 2018
Drupal Migrations in 2018Pantheon
 
Theming tips and tricks
Theming tips and tricksTheming tips and tricks
Theming tips and tricksaaroncouch
 
[drupalday2017] - Decoupled frontend con Drupal 8 e OpenUI 5
[drupalday2017] - Decoupled frontend con Drupal 8 e OpenUI 5[drupalday2017] - Decoupled frontend con Drupal 8 e OpenUI 5
[drupalday2017] - Decoupled frontend con Drupal 8 e OpenUI 5DrupalDay
 
Fronteers - Drupal 7 ux
Fronteers   - Drupal 7 uxFronteers   - Drupal 7 ux
Fronteers - Drupal 7 uxBojhan
 

Mais procurados (20)

Upgrading your site from Drupal 6 to Drupal 7
Upgrading your site from Drupal 6 to Drupal 7Upgrading your site from Drupal 6 to Drupal 7
Upgrading your site from Drupal 6 to Drupal 7
 
Drupalcampatl d7
Drupalcampatl d7Drupalcampatl d7
Drupalcampatl d7
 
Introduction to Module Development (Drupal 7)
Introduction to Module Development (Drupal 7)Introduction to Module Development (Drupal 7)
Introduction to Module Development (Drupal 7)
 
Drupal
DrupalDrupal
Drupal
 
[drupalday2017] - Devel - D8 release party
[drupalday2017] - Devel - D8 release party[drupalday2017] - Devel - D8 release party
[drupalday2017] - Devel - D8 release party
 
Drupal Developer Days Keynote
Drupal Developer Days KeynoteDrupal Developer Days Keynote
Drupal Developer Days Keynote
 
Are you ready for Drupal 8?
Are you ready for Drupal 8?Are you ready for Drupal 8?
Are you ready for Drupal 8?
 
COSA SIGNIFICA CONVERTIRE UN MODULO DA D7 A D8
COSA SIGNIFICA CONVERTIRE UN MODULO DA D7 A D8COSA SIGNIFICA CONVERTIRE UN MODULO DA D7 A D8
COSA SIGNIFICA CONVERTIRE UN MODULO DA D7 A D8
 
Building and Maintaining a Distribution in Drupal 7 with Features
Building and Maintaining a  Distribution in Drupal 7 with FeaturesBuilding and Maintaining a  Distribution in Drupal 7 with Features
Building and Maintaining a Distribution in Drupal 7 with Features
 
Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!
Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!
Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!
 
大規模サイトにおけるユーザーレベルのキャッシュ活用によるパフォーマンスチューニング
大規模サイトにおけるユーザーレベルのキャッシュ活用によるパフォーマンスチューニング大規模サイトにおけるユーザーレベルのキャッシュ活用によるパフォーマンスチューニング
大規模サイトにおけるユーザーレベルのキャッシュ活用によるパフォーマンスチューニング
 
Water Torture Upgrades - Drupal 5 to 6
Water Torture Upgrades - Drupal 5 to 6Water Torture Upgrades - Drupal 5 to 6
Water Torture Upgrades - Drupal 5 to 6
 
Best Practice Site Architecture in Drupal 8
Best Practice Site Architecture in Drupal 8Best Practice Site Architecture in Drupal 8
Best Practice Site Architecture in Drupal 8
 
The Flexibility of Drupal 8 | DCNLights 2017
The Flexibility of Drupal 8 | DCNLights 2017The Flexibility of Drupal 8 | DCNLights 2017
The Flexibility of Drupal 8 | DCNLights 2017
 
CakePHP: An Introduction
CakePHP: An IntroductionCakePHP: An Introduction
CakePHP: An Introduction
 
Drupal 8 CMI on a Managed Workflow
Drupal 8 CMI on a Managed WorkflowDrupal 8 CMI on a Managed Workflow
Drupal 8 CMI on a Managed Workflow
 
Drupal Migrations in 2018
Drupal Migrations in 2018Drupal Migrations in 2018
Drupal Migrations in 2018
 
Theming tips and tricks
Theming tips and tricksTheming tips and tricks
Theming tips and tricks
 
[drupalday2017] - Decoupled frontend con Drupal 8 e OpenUI 5
[drupalday2017] - Decoupled frontend con Drupal 8 e OpenUI 5[drupalday2017] - Decoupled frontend con Drupal 8 e OpenUI 5
[drupalday2017] - Decoupled frontend con Drupal 8 e OpenUI 5
 
Fronteers - Drupal 7 ux
Fronteers   - Drupal 7 uxFronteers   - Drupal 7 ux
Fronteers - Drupal 7 ux
 

Destaque

Drupal 8 configuration management
Drupal 8 configuration managementDrupal 8 configuration management
Drupal 8 configuration managementAlexander Tkachev
 
Drupal for beginners - Global Training Days - Cebu 2016
Drupal for beginners - Global Training Days - Cebu 2016Drupal for beginners - Global Training Days - Cebu 2016
Drupal for beginners - Global Training Days - Cebu 2016Luc Bézier
 
The Environment+Nature2+ป.2+124+dltvengp2+55t2eng p02 f14-1page
The Environment+Nature2+ป.2+124+dltvengp2+55t2eng p02 f14-1pageThe Environment+Nature2+ป.2+124+dltvengp2+55t2eng p02 f14-1page
The Environment+Nature2+ป.2+124+dltvengp2+55t2eng p02 f14-1pagePrachoom Rangkasikorn
 
Climate change prediction erring on the side of least drama (gec, 11.2012). L...
Climate change prediction erring on the side of least drama (gec, 11.2012). L...Climate change prediction erring on the side of least drama (gec, 11.2012). L...
Climate change prediction erring on the side of least drama (gec, 11.2012). L...Ecologistas en Accion
 
สไลด์ ภาคใต้ ป.5+486+dltvsocp5+55t2soc p05 f18-4page
สไลด์ ภาคใต้ ป.5+486+dltvsocp5+55t2soc p05 f18-4pageสไลด์ ภาคใต้ ป.5+486+dltvsocp5+55t2soc p05 f18-4page
สไลด์ ภาคใต้ ป.5+486+dltvsocp5+55t2soc p05 f18-4pagePrachoom Rangkasikorn
 
Technology will destroy our planet
Technology will destroy our planetTechnology will destroy our planet
Technology will destroy our planetmoony453
 
Econometrics Research & Analysis Paper
Econometrics Research & Analysis PaperEconometrics Research & Analysis Paper
Econometrics Research & Analysis PaperChris Precourt
 
How To Make #7 // Reciclaje tecnológico // Tunipanea
How To Make #7 // Reciclaje tecnológico // TunipaneaHow To Make #7 // Reciclaje tecnológico // Tunipanea
How To Make #7 // Reciclaje tecnológico // TunipaneaTabakaleraDonostia
 
Building Drupal 8 Sites
Building Drupal 8 SitesBuilding Drupal 8 Sites
Building Drupal 8 SitesExove
 
Config management
Config managementConfig management
Config managementAlexei Goja
 
Proposal Renovation & Education Development SDK Yos Sudarso 2015
Proposal Renovation & Education Development  SDK Yos Sudarso 2015Proposal Renovation & Education Development  SDK Yos Sudarso 2015
Proposal Renovation & Education Development SDK Yos Sudarso 2015loveabby
 
consumer Buying Behaviour
consumer Buying Behaviourconsumer Buying Behaviour
consumer Buying BehaviourGCUF
 
OpenCoesione School: communication challenges from open data and civic enga...
OpenCoesione School:  communication challenges  from open data and civic enga...OpenCoesione School:  communication challenges  from open data and civic enga...
OpenCoesione School: communication challenges from open data and civic enga...OpenCoesione
 
Case Study for Promoting Walk ins in Restaurants
Case Study for Promoting Walk ins in RestaurantsCase Study for Promoting Walk ins in Restaurants
Case Study for Promoting Walk ins in RestaurantsCloud9media
 
BEST, LONE PINE CAFE' CASE STUDY
BEST, LONE PINE CAFE' CASE STUDYBEST, LONE PINE CAFE' CASE STUDY
BEST, LONE PINE CAFE' CASE STUDYChris Christian
 
study of student's buying behviour towords laptop
study of student's buying behviour towords laptopstudy of student's buying behviour towords laptop
study of student's buying behviour towords laptopkhushbu chauhan
 
Drupal 8 Configuration Management
Drupal 8 Configuration ManagementDrupal 8 Configuration Management
Drupal 8 Configuration ManagementPhilip Norton
 
Configuration Management in Drupal 8: A preview (DrupalCamp Alpe Adria 2014)
Configuration Management in Drupal 8: A preview (DrupalCamp Alpe Adria 2014)Configuration Management in Drupal 8: A preview (DrupalCamp Alpe Adria 2014)
Configuration Management in Drupal 8: A preview (DrupalCamp Alpe Adria 2014)Nuvole
 
Configuration Management in Drupal 8: A preview (DrupalDays Milano 2014)
Configuration Management in Drupal 8: A preview (DrupalDays Milano 2014)Configuration Management in Drupal 8: A preview (DrupalDays Milano 2014)
Configuration Management in Drupal 8: A preview (DrupalDays Milano 2014)Nuvole
 

Destaque (20)

Drupal 8 Configuration Management
Drupal 8 Configuration ManagementDrupal 8 Configuration Management
Drupal 8 Configuration Management
 
Drupal 8 configuration management
Drupal 8 configuration managementDrupal 8 configuration management
Drupal 8 configuration management
 
Drupal for beginners - Global Training Days - Cebu 2016
Drupal for beginners - Global Training Days - Cebu 2016Drupal for beginners - Global Training Days - Cebu 2016
Drupal for beginners - Global Training Days - Cebu 2016
 
The Environment+Nature2+ป.2+124+dltvengp2+55t2eng p02 f14-1page
The Environment+Nature2+ป.2+124+dltvengp2+55t2eng p02 f14-1pageThe Environment+Nature2+ป.2+124+dltvengp2+55t2eng p02 f14-1page
The Environment+Nature2+ป.2+124+dltvengp2+55t2eng p02 f14-1page
 
Climate change prediction erring on the side of least drama (gec, 11.2012). L...
Climate change prediction erring on the side of least drama (gec, 11.2012). L...Climate change prediction erring on the side of least drama (gec, 11.2012). L...
Climate change prediction erring on the side of least drama (gec, 11.2012). L...
 
สไลด์ ภาคใต้ ป.5+486+dltvsocp5+55t2soc p05 f18-4page
สไลด์ ภาคใต้ ป.5+486+dltvsocp5+55t2soc p05 f18-4pageสไลด์ ภาคใต้ ป.5+486+dltvsocp5+55t2soc p05 f18-4page
สไลด์ ภาคใต้ ป.5+486+dltvsocp5+55t2soc p05 f18-4page
 
Technology will destroy our planet
Technology will destroy our planetTechnology will destroy our planet
Technology will destroy our planet
 
Econometrics Research & Analysis Paper
Econometrics Research & Analysis PaperEconometrics Research & Analysis Paper
Econometrics Research & Analysis Paper
 
How To Make #7 // Reciclaje tecnológico // Tunipanea
How To Make #7 // Reciclaje tecnológico // TunipaneaHow To Make #7 // Reciclaje tecnológico // Tunipanea
How To Make #7 // Reciclaje tecnológico // Tunipanea
 
Building Drupal 8 Sites
Building Drupal 8 SitesBuilding Drupal 8 Sites
Building Drupal 8 Sites
 
Config management
Config managementConfig management
Config management
 
Proposal Renovation & Education Development SDK Yos Sudarso 2015
Proposal Renovation & Education Development  SDK Yos Sudarso 2015Proposal Renovation & Education Development  SDK Yos Sudarso 2015
Proposal Renovation & Education Development SDK Yos Sudarso 2015
 
consumer Buying Behaviour
consumer Buying Behaviourconsumer Buying Behaviour
consumer Buying Behaviour
 
OpenCoesione School: communication challenges from open data and civic enga...
OpenCoesione School:  communication challenges  from open data and civic enga...OpenCoesione School:  communication challenges  from open data and civic enga...
OpenCoesione School: communication challenges from open data and civic enga...
 
Case Study for Promoting Walk ins in Restaurants
Case Study for Promoting Walk ins in RestaurantsCase Study for Promoting Walk ins in Restaurants
Case Study for Promoting Walk ins in Restaurants
 
BEST, LONE PINE CAFE' CASE STUDY
BEST, LONE PINE CAFE' CASE STUDYBEST, LONE PINE CAFE' CASE STUDY
BEST, LONE PINE CAFE' CASE STUDY
 
study of student's buying behviour towords laptop
study of student's buying behviour towords laptopstudy of student's buying behviour towords laptop
study of student's buying behviour towords laptop
 
Drupal 8 Configuration Management
Drupal 8 Configuration ManagementDrupal 8 Configuration Management
Drupal 8 Configuration Management
 
Configuration Management in Drupal 8: A preview (DrupalCamp Alpe Adria 2014)
Configuration Management in Drupal 8: A preview (DrupalCamp Alpe Adria 2014)Configuration Management in Drupal 8: A preview (DrupalCamp Alpe Adria 2014)
Configuration Management in Drupal 8: A preview (DrupalCamp Alpe Adria 2014)
 
Configuration Management in Drupal 8: A preview (DrupalDays Milano 2014)
Configuration Management in Drupal 8: A preview (DrupalDays Milano 2014)Configuration Management in Drupal 8: A preview (DrupalDays Milano 2014)
Configuration Management in Drupal 8: A preview (DrupalDays Milano 2014)
 

Semelhante a Drupal 8 Configuration Management for you and your team

DDAY2014 - Features per Drupal 8
DDAY2014 - Features per Drupal 8DDAY2014 - Features per Drupal 8
DDAY2014 - Features per Drupal 8DrupalDay
 
Drupal 8 Configuration Management with Features
Drupal 8 Configuration Management with FeaturesDrupal 8 Configuration Management with Features
Drupal 8 Configuration Management with FeaturesNuvole
 
Tips and tricks for building Large web applications with Drupal
Tips and tricks for building Large web applications with DrupalTips and tricks for building Large web applications with Drupal
Tips and tricks for building Large web applications with DrupalMitzaCeusan
 
Improving your Drupal 8 development workflow DrupalCampLA
Improving your Drupal 8 development workflow DrupalCampLAImproving your Drupal 8 development workflow DrupalCampLA
Improving your Drupal 8 development workflow DrupalCampLAJesus Manuel Olivas
 
Introduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, TerminologiesIntroduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, TerminologiesGerald Villorente
 
Introduction of drupal7 by ayushi infotech
Introduction of drupal7 by ayushi infotechIntroduction of drupal7 by ayushi infotech
Introduction of drupal7 by ayushi infotechMandakini Kumari
 
Gestione della configurazione in Drupal 8
Gestione della configurazione in Drupal 8Gestione della configurazione in Drupal 8
Gestione della configurazione in Drupal 8Eugenio Minardi
 
Drupal distributions - how to build them
Drupal distributions - how to build themDrupal distributions - how to build them
Drupal distributions - how to build themDick Olsson
 
October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...
October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...
October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...Eric Sembrat
 
How to Migrate, Manage and Centralize your Web Infrastructure with Drupal
How to Migrate, Manage and Centralize your Web Infrastructure with DrupalHow to Migrate, Manage and Centralize your Web Infrastructure with Drupal
How to Migrate, Manage and Centralize your Web Infrastructure with DrupalAcquia
 
Lazy Coder Camp Edition 1
Lazy Coder Camp Edition 1Lazy Coder Camp Edition 1
Lazy Coder Camp Edition 1phpfactory
 
13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overview
13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overview13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overview
13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overviewDrupalMumbai
 
Basic Introduction to Drupal
Basic Introduction to DrupalBasic Introduction to Drupal
Basic Introduction to DrupalMurtaza Alvi
 
Drupal 6 Performance Tips
Drupal 6 Performance TipsDrupal 6 Performance Tips
Drupal 6 Performance TipsTrevor James
 
Developing with Configuration Management on Drupal 7
Developing with Configuration Management on Drupal 7Developing with Configuration Management on Drupal 7
Developing with Configuration Management on Drupal 7Ryan Szrama
 

Semelhante a Drupal 8 Configuration Management for you and your team (20)

DDAY2014 - Features per Drupal 8
DDAY2014 - Features per Drupal 8DDAY2014 - Features per Drupal 8
DDAY2014 - Features per Drupal 8
 
Drupal 8 Configuration Management with Features
Drupal 8 Configuration Management with FeaturesDrupal 8 Configuration Management with Features
Drupal 8 Configuration Management with Features
 
Drupal6 and Drupal 7 difference
Drupal6 and Drupal 7 differenceDrupal6 and Drupal 7 difference
Drupal6 and Drupal 7 difference
 
Tips and tricks for building Large web applications with Drupal
Tips and tricks for building Large web applications with DrupalTips and tricks for building Large web applications with Drupal
Tips and tricks for building Large web applications with Drupal
 
Improving your Drupal 8 development workflow DrupalCampLA
Improving your Drupal 8 development workflow DrupalCampLAImproving your Drupal 8 development workflow DrupalCampLA
Improving your Drupal 8 development workflow DrupalCampLA
 
Recipes for Drupal distributions
Recipes for Drupal distributionsRecipes for Drupal distributions
Recipes for Drupal distributions
 
Introduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, TerminologiesIntroduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, Terminologies
 
Introduction of drupal7 by ayushi infotech
Introduction of drupal7 by ayushi infotechIntroduction of drupal7 by ayushi infotech
Introduction of drupal7 by ayushi infotech
 
Gestione della configurazione in Drupal 8
Gestione della configurazione in Drupal 8Gestione della configurazione in Drupal 8
Gestione della configurazione in Drupal 8
 
Drupal distributions - how to build them
Drupal distributions - how to build themDrupal distributions - how to build them
Drupal distributions - how to build them
 
Drupal introduction
Drupal introductionDrupal introduction
Drupal introduction
 
October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...
October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...
October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...
 
How to Migrate, Manage and Centralize your Web Infrastructure with Drupal
How to Migrate, Manage and Centralize your Web Infrastructure with DrupalHow to Migrate, Manage and Centralize your Web Infrastructure with Drupal
How to Migrate, Manage and Centralize your Web Infrastructure with Drupal
 
Lazy Coder Camp Edition 1
Lazy Coder Camp Edition 1Lazy Coder Camp Edition 1
Lazy Coder Camp Edition 1
 
13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overview
13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overview13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overview
13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overview
 
Basic Introduction to Drupal
Basic Introduction to DrupalBasic Introduction to Drupal
Basic Introduction to Drupal
 
Drupal 6 Performance Tips
Drupal 6 Performance TipsDrupal 6 Performance Tips
Drupal 6 Performance Tips
 
Test
TestTest
Test
 
Developing with Configuration Management on Drupal 7
Developing with Configuration Management on Drupal 7Developing with Configuration Management on Drupal 7
Developing with Configuration Management on Drupal 7
 
Distribution best practices
Distribution best practicesDistribution best practices
Distribution best practices
 

Mais de Luc Bézier

Quick guide to Freedom and travels for developers
Quick guide to Freedom and travels for developersQuick guide to Freedom and travels for developers
Quick guide to Freedom and travels for developersLuc Bézier
 
Guide to freedom and travels for developers
Guide to freedom and travels for developersGuide to freedom and travels for developers
Guide to freedom and travels for developersLuc Bézier
 
The Future of Offices
The Future of OfficesThe Future of Offices
The Future of OfficesLuc Bézier
 
Made with drupal 8
Made with drupal 8Made with drupal 8
Made with drupal 8Luc Bézier
 
Open Source Software, community matters
Open Source Software, community mattersOpen Source Software, community matters
Open Source Software, community mattersLuc Bézier
 
Data migration to Drupal using the migrate module
Data migration to Drupal using the migrate moduleData migration to Drupal using the migrate module
Data migration to Drupal using the migrate moduleLuc Bézier
 
Drupal ladder Cebu : Learn to contribute | November 2013
Drupal ladder Cebu : Learn to contribute | November 2013Drupal ladder Cebu : Learn to contribute | November 2013
Drupal ladder Cebu : Learn to contribute | November 2013Luc Bézier
 

Mais de Luc Bézier (7)

Quick guide to Freedom and travels for developers
Quick guide to Freedom and travels for developersQuick guide to Freedom and travels for developers
Quick guide to Freedom and travels for developers
 
Guide to freedom and travels for developers
Guide to freedom and travels for developersGuide to freedom and travels for developers
Guide to freedom and travels for developers
 
The Future of Offices
The Future of OfficesThe Future of Offices
The Future of Offices
 
Made with drupal 8
Made with drupal 8Made with drupal 8
Made with drupal 8
 
Open Source Software, community matters
Open Source Software, community mattersOpen Source Software, community matters
Open Source Software, community matters
 
Data migration to Drupal using the migrate module
Data migration to Drupal using the migrate moduleData migration to Drupal using the migrate module
Data migration to Drupal using the migrate module
 
Drupal ladder Cebu : Learn to contribute | November 2013
Drupal ladder Cebu : Learn to contribute | November 2013Drupal ladder Cebu : Learn to contribute | November 2013
Drupal ladder Cebu : Learn to contribute | November 2013
 

Último

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 

Último (20)

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 

Drupal 8 Configuration Management for you and your team

  • 2. About me Luc Bezier, Drupal & Web freelance. Founded micro company webizat in 2011. URL: webizat.com Worked with BBC Worldwide, UK Government agency, Ben&Jerry’s, European commission …
  • 3. Solution Architect & Consultant Architecture and drupal development on large projects.
  • 4. Team continuous improvement Part of my work I really enjoy is to help teams being more efficient with Drupal. Workflow Tools Communication
  • 5. Software Configuration Management In software engineering, software configuration management (SCM or S/W CM) is the task of tracking and controlling changes in the software, part of the larger cross-disciplinary field of configuration management. SCM practices include revision control and the establishment of baselines. Thanks Wikipedia.
  • 6. Software Configuration Management In software engineering, software configuration management (SCM or S/W CM) is the task of tracking and controlling changes in the software, part of the larger cross-disciplinary field of configuration management. SCM practices include revision control and the establishment of baselines. Thanks Wikipedia.
  • 7. SCM in Drupal Examples of configuration on Drupal: Content type, Fields, Views, Images sizes. Track and control changes on files, not database.
  • 8. Deployment and synchronization Arnold changes a field configuration, updates the configuration files, share the changes using git. Mary reviews and pulls the changes using git. The client, Stephen, is very happy with the results. The changes will be deployed to production using the new files. No database import or export.
  • 9. Drupal 7: We got it wrong We used a contributed module called Features. It was made to group together functionalities to answer a specific use case. What we did with Features? We build a complex deployment system.
  • 10. Drupal 8: Modern configuration manager Made to synchronize environments and helps to manage complexity, paired with git. Small, meaningful and organized files
  • 11. Drupal 8: Modern configuration manager Small: reduces git conflicts Meaningful: YAML syntax Organized: Automatically named / placed Also ... Automated: Imports / exports using command line On D8 core: No extra download needed
  • 12. Drupal 8: Modern configuration manager No custom code in your configuration. Your configuration is based on auto-generated YAML files. You can however extend the generation of those YAML files.
  • 13. Configuration manager for your team Highly recommended with the configuration manager: Git Drush Drupal configuration installer
  • 14. Configuration manager for your team Location of the configuration by default: sites/default/files/config_HASH/staging Recommended location: outside drupal. And update your settings.php like: $config_directories['sync'] = '../config/sync'; I would usually commit settings.php and enable the use of settings.local.php (that one will never be on git)
  • 15. Configuration manager for your team Configuration import: $ drush cim Configuration export: $ drush cex Full export, then select in git which configuration files you wish to update.
  • 16. Configuration manager for your team Simple configuration & configuration entities. Simple configuration example: system.maintenance.yml, your website maintenance message. Configuration entities example: core.entity_view_mode.user.full.yml, a view configuration for the users accounts.
  • 17. Configuration manager for your team The configuration management system is meant to exist for one specific project, not shared projects. Configuration entities have a uuid. It means those configurations are for a particular Drupal website. Example: uuid: 345d5f90-842c-4344-84e5-47a806a52822
  • 18. Configuration manager for your team By default, you can not import existing configurations, every installation will generate new uuids. Environments who do not share the same uuid, will not be able to import the configuration.
  • 19. Configuration manager for your team Solution: Configuration installer The Configuration Installer is a installation profile that takes over the Drupal installer and allows sites to be created from existing configuration. drupal.org/project/config_installer
  • 20. Configuration manager for your team Solution: Configuration installer It’s an installation profile and placed under the “profiles” directory. Your team can now share the project’s configuration: $ drush site-install config_installer --config-dir=../config/sync
  • 21. Configuration manager for your team Solution: Configuration installer There is a ticket on drupal.org for this to be included in core. But it’s still a work in progress. https://www.drupal.org/node/1613424
  • 22. Configuration manager for your team Your custom modules can for example: Define their own configuration entity types. Use their own yaml configuration files, inside the module’s directory.
  • 23. More about Drupal 8’s SCM Book Drupal 8 Configuration Management by Stefan Borchert, Anja Schirwinski Upcoming blog post on webizat.com
  • 24. Thanks Twitter @luukyb email: luc [at] webizat.com web: webizat.com