Open github-learning-lab[bot] opened 3 years ago
If you're having trouble importing your course, here are a few tips for troubleshooting.
There are a few different ways to create a course:
Since we used the manual method in this course, follow the instructions in the "Create the course on Learning Lab (manual option" paragraph.
This should lead you to a URL that looks like https://lab.github.com/:owner/new
. (Ex: https://lab.github.com/githubtraining/new)
Try to validate the YAML in the config.yml
using a tool like yamllint.
Check the responses referenced in the the config.yml
file. Do they all exist? Are they in a directory called responses
? Are there any typos?
More detailed error messages are available for draft courses made from pull requests. To do this, the course must first be published. Create another branch with the most up-to-date version of your course. Edit the course version on the main
branch to reduce the possibility for errors. (You can do this by matching the boilerplate repository.)
If you have events or steps listed in your config.yml
, they need to have at least one action. Make sure that every step has correlating actions.
If you're still stuck, visit us in the Community Forum and we'll be happy to help!
done
Go ahead and take the course! You'll be able to register for the course, and take it. What do you think?
hey there
Import your course
Woohoo! You could keep going - but now your course can actually be tested. Let's talk about that.
Importing your course into Learning Lab
When you're ready to start testing your course, you'll need to import it into Learning Lab. Here are a few things you'll need to know.
Create and test draft courses
When you create a new course on Learning Lab, the course will be a draft. While in draft, you can test your course by going to the course dashboard, and clicking on View course page next to the course title.
You can continue to work on your course while it is in draft. It will only be visible to you and other administrators of your repository.
Step 14: Import the course
:keyboard: Activity: Import this repository as a course on GitHub Learning Lab
https://lab.github.com/piton182/new
.I'll respond below when I detect a comment in this issue.