Code Monkey home page Code Monkey logo

egghead-asciicasts's Introduction

egghead.io asciicasts

Setting up .env

Create a .env file in the root of the project (see .env.template). The easiest way to get an EGGHEAD_AUTH_TOKEN is to get your user jwt returned to you from this link. In the url, copy the contents following https://instructor.egghead.io/?jwt=

Steps to Deploy Asciicasts:

  • npm install
  • npm run build
  • npm run deploy

Notes

The API token for the user may need to be changed in deployToRails.js.

How to build an asciicast:

Asciicasts (or enhanced transcripts) are written in the gitbook format.

The file structure for a git book is such: /lessons /images book.json package.json README.md SUMMARY.md

The book.json and package.json are used for grabbing the necessary packages to run the gitbook CLI. We have decided to put the markdown files (asciicasts) in the /lessons directory so that it makes it easy to automate deploying them to egghead.io.

SUMMARY.md is used by gitbook to navigate the files in the book. Each asciicast in /lessons should have a corresponding link in SUMMARY.md.

README.md should have information about the course. This would include the title, description, and version of the library being covered.

Lessons or Asciicasts are where most of the work resides. The transcript of the lessons needs to be grabbed from the lesson page on egghead.io. All of the code that is referenced in the video should be highlighted with back ticks. General concepts should be bolded. They only need to be bolded the first time they are mentioned in the video. Other egghead.io lessons and courses can be linked when a concept is mentioned that egghead.io covers. Any code that is written should show up in a "code fence". Here is an example of how JavaScript would be highlighted:

function helloWorld(){
  console.log("hello world")
}

helloWorld();
// "hello world

Generally these code blocks should be added when the instructor adds code to the file they are working in. If the instructor adds code (like css) that doesn't have to do with the lesson, it does not need to be displayed. This includes terminal commands that they enter. Any console output that occurs during the lessons should be displayed as a code block.

Screen shots should be taken when any UI is changed. If the image can be turned into a code block, generally that is preferable.

egghead-asciicasts's People

Contributors

creeland avatar zacjones93 avatar theianjones avatar lsminter avatar laurosilvacom avatar nikkilr88 avatar joelhooks avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.