Self-paced

Explore our extensive collection of courses designed to help you master various subjects and skills. Whether you're a beginner or an advanced learner, there's something here for everyone.

Bootcamp

Learn live

Join us for our free workshops, webinars, and other events to learn more about our programs and get started on your journey to becoming a developer.

Upcoming live events

Learning library

For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.

It makes sense to start learning by reading and watching videos about fundamentals and how things work.

Search from all Lessons


LoginGet Started
← Back to Lessons
  • learnpack

Edit on Github

Keeping Quality in LearnPack Tutorials

Audit your Tutorial

Audit your Tutorial

With LearnPack you can audit your repository checking for possible errors on it.

You have to run the audit command and learnpack will take care of doing a few important validations.

This is the command:

1$ learnpack audit

LearnPack Audit Errors

The following is the current list of validations performed by the audit command:

  1. Basic learn.json: The configuration JSON object must have a slug, repository and description property. (Error)

  2. The repository shouldn't have user or session information: When a learnpack starts running it creates a bunch of files relevant to the current user session completing the exercises (telemetry, login information, etc.). The audit command will make sure you have removed them before publishing the exercises. You can fix that error by running the $ learnpack clean command. (Error)

  3. Empty or missing files: Every step in learnpack must have a least one README file. (Error)

  4. Valid image url (Relative or absolute): Scan all the step exercise instructions to make sure all images are showing up properly. (Error)

  5. The exercise directory names: LearnPack has a very specific ways on how the exercise step folders should be named, starting with a number and followed with a descriptive folder name. (Error)

  6. The exercises array (Of the config file) doesn’t have content: There is a file contig.json that gets generated once you start running LearnPack for a particular session and it should be emptied before publishing the exercises. (Error)

LearnPack Audit Warnings

  1. Inconsistent translations. (Warning)

  2. The .gitignore file doesn’t exist. (Warning)

  3. If there is a file within the exercises folder but not inside of any particular exercise folder. (Warning)