Templates¶
This page documents the various templates and boilerplate deployment configurations we use.
Copier¶
Copier is a powerful and user-friendly tool designed to simplify the process of duplicating and customizing project templates. Copier is a Python library and CLI tool. Below are some key advantages of using Copier:
- Template Support: Copier allows us to employ templates during the copying process, facilitating customisation based on variables and configurations.
- Built-in updating ability: Copier includes a command to update the project with a new revision of parent template.
- Interactive Configuration: The tool features an interactive command-line interface for configuring copying operations.
- Project Initialization: It can be utilised to initialise projects based on predefined configuration, termed "answers", saving time and promoting consistency across projects.
- Git Integration: Copier seamlessly integrates with Git, simplifying the cloning and customisation of projects.
- Cross-Platform Compatibility: Copier is designed to work seamlessly across different operating systems, providing a consistent experience on Windows, macOS, and Linux.
In the UIS DevOps Division we use Copier for two boilerplate projects:
More Information¶
More information on how to use Copier to perform specific tasks can be found in the following how-to guides: