Create a Lesson Template

John Lindquist
InstructorJohn Lindquist
Share this video with your friends

Social Share Links

Send Tweet
Published 4 years ago
Updated 3 years ago

Lessons often have common starting points. If you're going to make lessons in bulk, it helps to create templates so you don't waste time setting them up over and over.

John Lindquist: [0:00] Go to CodeSandbox and create a Sandbox. Pick the type of lesson idea you have, mine will be Vanilla. Then we'll create a GitHub repo from this template by signing in with GitHub, forking the Sandbox. I guess I have to sign in again.

[0:12] Now I'm going to name my repo vanilla-template. Hit Create Repository. Then over on GitHub under my account, you'll see a repo called vanilla-template, which was created with CodeSandbox. If I grab the link to clone this, copy that, and go into my terminal, I can use a tool called degit.

[0:29] Then I'll paste my link and then name my lesson. Let's call it lesson-name. Hit Enter. That cloned my project into a lesson-name directory but removed all of the Git information. You can see all of the files, but I can still git init this to start working on a project which will work perfectly on CodeSandbox.

egghead
egghead
~ 39 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today