Copy a track
Save time.
This guide explains how to copy a track.

Copy a track

Copying a track can save you development time and it takes the following steps:
🌐 Web UI
πŸ’» Instruqt CLI
  1. 1.
    Open your browser and go to play.instruqt.com. ↳ Instruqt shows your Content page.
  2. 2.
    Click
    on the track you want to copy, followed by Copy track. ↳ The Copy track pop-up opens.
  3. 3.
    In the Track title field, enter a title for the new track.
  4. 4.
    In the Track slug field, enter a unique slug within your team for the new track.
  5. 5.
    If you are a member of multiple teams on Instruqt, the Select team list is part of the pop-up. If so, select the desired team in the Select team list.
  6. 6.
    Click Create. ↳ The newly copied track appears at the top of your My content page.
  1. 1.
    Open a terminal and move into the directory where you maintain your tracks.
  2. 2.
    Enter the following command:
    1
    instruqt track create --from TEAM/TRACK_SLUG --title "YOUR_TITLE"
    Copied!
    ⇨ Replace TEAM, TRACK_SLUG , and YOUR_TITLE with your values. ↳ Instruqt CLI copies the track. The output looks something like this:
    1
    ==> Finding track by slug: TEAM/TRACK_SLUG_TRACK_TO_COPY_FROM
    2
    ==> Creating new track files:
    3
    TRACK_SLUG_NEW_TRACK
    4
    β”œβ”€β”€ 01-CHALLENGE_SLUG
    5
    β”‚ β”œβ”€β”€ assignment.md
    6
    β”‚ β”œβ”€β”€ check-container
    7
    β”‚ β”œβ”€β”€ cleanup-container
    8
    β”‚ β”œβ”€β”€ setup-container
    9
    β”‚ └── solve-container
    10
    β”œβ”€β”€ 02-CHALLENGE_SLUG
    11
    β”‚ β”œβ”€β”€ assignment.md
    12
    β”‚ β”œβ”€β”€ check-container
    13
    β”‚ β”œβ”€β”€ cleanup-container
    14
    β”‚ β”œβ”€β”€ setup-container
    15
    β”‚ └── solve-container
    16
    β”œβ”€β”€ config.yml
    17
    └── track.yml
    18
    OK
    Copied!
Copy link
Edit on GitHub
Contents
Copy a track