Mul­ti-Envi­ron­ment Workflows

The Craft Multi-Environment Config: how it works, how to use it in a team, and several different use cases for when and where it might come in handy.

The Craft Multi-Environment Config: how it works, how to use it in a team, and several different use cases for when and where it might come in handy.

  • 00:23 Introduction
  • 01:08 Why use a Multi-Environment Config
  • 03:00 The Craft Multi-Environment Config
  • 09:14 Multi-Environment Database Settings
  • 10:06 Make Site URL and Asset URLs multi-environment friendly with environmentVariables
  • 17:00 Accessing config settings in your templates
  • 27:15 Team Multi-Environment Config Workflow
  • 33:22 Other things to consider in a Multi-Environment Workflow
  • 40:05 Moving files between environments
  • 47:30 Discussion of code and some caveats
  • 50:36 Config override examples

Level up in Craft CMS with practical examples, snippets, and patterns.
Craft The Planet emails are sent out several times a week.