GithubHelp home page GithubHelp logo

bootsofkhan's Introduction

#Boots of Khan - Only Partially Functional ##Template for Bootstrapping KhanAcademy projects into independent web apps based on this blog post. Currently, while the following instructions generally do work, the way they are being interpreted is creating slightly unusual results, in particular drawing to the screen is not rendering properly. This should be considered a work in progress, and a jumping off point for anyone interested in this same goal.

All you have to do is paste your KhanAcademy code into the code.js file at the designated line, and you're ready to run it!

###Please note: Many browsers will not allow this web page to run out of local files without either disabling some browser security (not suggested) or running the containing folder as a web server.

There are many simple http server applications around, you can choose one on your platform of choice. I personally use http-server, a global Node.js module. Once that's set up, you just have to navigate to the correct folder and type:

http-server

or if you want to pick a port

http-server -p8031

to pick port 8031.

Now here's my pitch for why it's worth installing Node.js to get this simple http-server, besides how cool the server is:

If you're using Khan Academy, you're using Javascript, and if you're using Javascript, installing Node will give you a javascript interpreter in your command line, and you can run very efficient web interaction code with it, too.

Now I'll get off my soap box. If you want to disallow chrome's security from your command line, type:

chrome --allow-file-acess-from-files

bootsofkhan's People

Contributors

danfinlay avatar

Watchers

 avatar  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.