Learning Lab courses are created and maintained in GitHub repositories. Learning Lab registers these repositories as courses and manages the course delivery.
The quickest (and easiest) way to create a course or Learning Path is through the course creation page. Select an owner and enter the form information. After you click Create course, Learning Lab will create a draft course (or path) on Learning Lab and the following repositories on GitHub:
Create a repository that will house your course logic and metadata.
In course repository, create a file titled config.yml.
In the course repository, create a file titled course-details.yml and fill it with a short description of your course.
In your course repository, create a folder titled responses.
Stores your courses metadata and logic, written in YAML.
The full description of your course. This is what learners will use to decide whether or not they should take your course.
Markdown files powering the bot's responses.
2. Designate the template repository (manual option)
The template repository must be owned by the same organization or user as the course repository.
The template repository should contain the starter code for your learners.
In the course repository's config.yml file, specify the template repository's title by editing the repo: key inside of template: (see an example).
3. Create the course on Learning Lab (manual option)
Until this step, you'll have two repositories that Learning Lab won't know about. Now, we'll tell Learning Lab to read these repositories and create a course from them. Missing elements from the course repository might result in errors during this step, so we recommend adding the required elements to the config.yml before creating the course. The minimum required elements are those contained in the boilerplate.
If you haven't already done so, install Learning Lab on the account that owns the course and template repositories.
Navigate to https://lab.github.com/:owner/new.
Enter the title of your course repository.
Click Create course.
Once the course is created, you can continue to edit it manually, or use the course builder.