Lesson 1 — Differences and benefits of testing, staging, and production environments

Prerequisites and goals

Prerequisites

Theoretical prerequisites

This lesson assumes that you already know the following:

  • The concepts and benefits of continuous integration (CI) and continuous deployment (CD) workflows for quality assurance
  • How an ideal deployment workflow and pipeline works for you, your team, and on a technology level
  • How to configure TYPO3 for different environments.
  • Understand how CI/CD practices improve software delivery and quality, streamline workflows, and reduce the risk of errors in production.
  • Be able to differentiate between tools like Jenkins, Travis CI, and GitLab CI, and understand the scenarios in which each tool would be most effective.
  • Recognize the components of effective deployment workflows and understand how to design these to enhance collaboration and efficiency.

Practical prerequisites

Before you start this lesson, please have the following things ready:

  • Configured a simple pipeline that automates building, testing, and deploying TYPO3 applications.
  • Conducted hands-on exercises to manage TYPO3 configuration files and adjust settings based on the specific requirements of each environment.
  • Created and managed multiple environment setups, ensuring each is optimized for its purpose.

Goals

Theoretical goals

By the end of this lesson, you should know the following:

  • Understand the differences and benefits of testing, staging, and production environments
  • Learn the importance of separating environments and the steps toward live deployment
  • Understand the challenges of database versioning and migration

Practical goals

By the end of this lesson, you should have completed the following:

  • Configure TYPO3 for development, testing, staging, and production environments
  • Implement tools to manage database changes and migrations
  • Validate environment setups and ensure smooth deployment processes

Learning resources

Teacher's instructions

Student's instructions