Pull a track
Bring the track files to your machine to take care of everything yourself.
This guide explains how to pull all the track files from the Instruqt platform to your machine to further develop your track from within a code editor.

Pull

Pulling a track takes the following steps:

Step 1: Determine the track slug

🌐 Web UI
  1. 1.
    Open your browser and go to play.instruqt.com. ↳ Instruqt shows your content.
  2. 2.
    Click the track you want to pull to your machine. ↳ Instruqt shows the corresponding Track overview page.
  3. 3.
    Click Edit track details.
  4. 4.
    Note the track slug in the Slug field.

Step 2: Pull the track

πŸ’» Instruqt CLI
  1. 1.
    Open a terminal and move into the directory where you want to have the track files.
  2. 2.
    Enter the following command:
    1
    instruqt track pull TRACK_SLUG
    Copied!
    ⇨ Replace TRACK_SLUG with the track slug that you determined in step 1.
    If you are a member of multiple teams, add the corresponding team of the track you want to pull:
    1
    instruqt track pull TEAM/TRACK_SLUG
    Copied!
    ↳ Instruqt CLI pulls the track files to your machine and places them in a hierarchy of subdirectories. The output will look something like this:
    1
    ==> Finding track by slug: TEAM/TRACK_SLUG
    2
    ==> Updating local track:
    3
    TRACK_SLUG
    4
    β”œβ”€β”€ 01-welcome-to-instruqt
    5
    β”‚ β”œβ”€β”€ assignment.md
    6
    β”‚ └── setup-workstation
    7
    β”œβ”€β”€ 02-installing-the-cli
    8
    β”‚ β”œβ”€β”€ assignment.md
    9
    β”‚ β”œβ”€β”€ check-workstation
    10
    β”‚ └── solve-workstation
    11
    β”œβ”€β”€ 03-instruqt-auth-login
    12
    β”‚ β”œβ”€β”€ assignment.md
    13
    β”‚ β”œβ”€β”€ check-workstation
    14
    β”‚ β”œβ”€β”€ setup-workstation
    15
    β”‚ └── solve-workstation
    16
    β”œβ”€β”€ track_scripts
    17
    β”‚ └── setup-workstation
    18
    β”œβ”€β”€ config.yml
    19
    └── track.yml
    20
    OK
    Copied!
You can now further develop your track from within your code editor. And when you are ready, deploy the track by pushing it to the Instruqt platform.