Module 2: Building the training lab
A course is only as good as its lab. This module teaches trainers to build one that works on the first try: machines that meet the requirements, the same release for everyone, one installation per learner or a well-protected shared site, learner accounts with the right roles, and a routine to reset everything for the next group.
At a glance
| Course | Train the trainer |
| Duration | 5 hours 15 minutes (eight lessons) |
| Lessons | 8 |
| Level | Intermediate |
| Format | Hands-on; one machine with a terminal per learner |
Lessons
| Lesson | Duration | What learners do |
|---|---|---|
| 2.1 Requirements for a training machine | 40 min | Check PHP, extensions, php.ini, Composer and Git |
| 2.2 Getting the code for a class | 40 min | Clone or create-project a fixed release |
| 2.3 One installation per learner with exp:install | 45 min | Print, dry-run and run an install |
| 2.4 Serving the lab sites with Velocity | 35 min | Start, check, move and stop a site |
| 2.5 Learner accounts and roles | 45 min | Create users at example.invalid and check their roles |
| 2.6 Resetting the lab between sessions | 35 min | Keep a golden copy and reinstall safely |
| 2.7 A shared training server or one installation per learner | 45 min | Limit a learner role to a subtree |
| 2.8 Choosing the site package for a class | 30 min | Install a clean site and compare |
Preparing this module
- A machine per learner with a terminal, PHP 8.0 or later (PHP 7.4 usable without support), Composer 2 and Git; network access to GitHub and Packagist, or the code prepared in advance.
- Enough disk for two or three installations per learner.
- A printed list of the commands of lessons 2.3 and 2.4.
- For lesson 2.7: one shared installation the learners can reach.
Timing plan
| Time | Item |
|---|---|
| 0:00 | Lessons 2.1 and 2.2 (80 min) |
| 1:20 | Break (15 min) |
| 1:35 | Lessons 2.3 and 2.4 (80 min) |
| 2:55 | Lunch or long break (45 min) |
| 3:40 | Lessons 2.5 and 2.6 (80 min) |
| 5:00 | Break (15 min) |
| 5:15 | Lessons 2.7 and 2.8 (75 min) |
| 6:30 | End (5 h 15 min of lessons plus breaks) |
Related pages
- Train the trainer: course overview
- Trainers: start here
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.