Configuration files
Learn about configuration files for editing locally.
Overview
Instruqt tracks are Infrastructure-as-Code artifacts and are made up of configuration files that contain all the properties and settings for tracks in YAML and Markdown format. You manage these files either from Web UI or Instruqt CLI. For example, the configuration file track.yml
sets track characteristics and can look something like this:
You probably recognize tracks details like title
and teaser
as you set them from Web UI. But you can also set these properties by manipulating the track.yml
file from your code editor and push your changes with Instruqt CLI to the Instruqt platform.
YAML files use spaces for indentation. Use 2 or 4 spaces for indentation, but no tabs.
To learn how to use these files, read the Edit locally docs.
If you created a track with Instruqt CLI or pulled a track to your machine, you will find the configuration files inside the track directory and subdirectories:
Track level files
Generally speaking, there are four file types at a track level:
The config.yml
file contains the sandbox definition of a track.
File name | Description |
---|---|
| Contains the sandbox definition in YAML. |
| Contains the track definition in YAML. |
| Contains a script for setting up the track. |
| Contains a script for cleaning up the track. |
For more information on Track scripts, read these docs.
Challenge level files
File name | Description |
---|---|
| Contains challenge definition in YAML, learner assignment in markdown. |
| Script for setting up the challenge. |
| Script for checking if the learner solved the challenge. |
| Script for automatically solving a challenge when a learner skips. |
| Script for cleaning up the challenge. |
For more information on challenge scripts, read these docs.
Last updated