Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

speedy docs

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 models
Octocat-spinner-32 scraper
Octocat-spinner-32 static
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.md
Octocat-spinner-32 app.js
Octocat-spinner-32 config.js
Octocat-spinner-32 package.json
Octocat-spinner-32 web.js
README.md

Runnning locally

Run the server:

npm install # downloads dependencies for web server
node web.js

Open http://localhost:5000/ in your browser.

Scraper

The static/data/ directory contains our scrape of the sites we get content from. Right now we don't update this very often. If you want the most up-to-date content, you can run the scrapers:

cd scraper
npm install # downloads dependencies for scrapers
(cd css-mdn;  node scrape.js)
(cd html-mdn; node scrape.js)
(cd js-mdn;   node scrape.js)
(cd dom-mdn;  node scrape.js)
(cd jquery;   node scrape.js)

Notes

How to use the r.js optimizer:

node node_modules/requirejs/bin/r.js -o static/js/app.build.js

Make sure the node server is serving the correct static folder (whether you want /static or /static-build).

Something went wrong with that request. Please try again.