Skip to main content

Principle of Operation

The operation of the Scaffolder is quite simple. Let this image illustrate it.

Scaffolder Operation Scheme

Essentially, it consists of five steps:

  1. Configuration - The tool reads the configuration it found or that the user specified.
  2. CLI - The tool searches for the plugins specified in the configuration, then receives from them a template tree and docker services, which it passes on.
  3. Building - The tool takes the received template trees, passes the necessary parameters to them, and builds the project in the destination folder.
  4. Docker - The tool takes all the received docker services and creates a docker-compose.dev.yml file based on them in the destination folder.
  5. Done! - The project is ready!

This is just a surface-level view of how the program works. To learn more about how configuration is structured, what template trees are, and how to declare Docker services, refer to the corresponding items in the navigation list or click on the links within the words.