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.
Open your browser and go to play.instruqt.com.
↳ Instruqt shows your content.
2.
Click the track you want to pull to your machine.
↳ Instruqt shows the corresponding Track overview page.
3.
Click Edit track details.
4.
Note the track slug in the Slug field.
Step 2: Pull the track
💻 Instruqt CLI
1.
Open a terminal and move into the directory where you want to have the track files.
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.