Skip to content

amarkanala/instacss

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Runnning locally

Make sure you MongoDB running on your system. For example, on Ubuntu, type

apt-get install mongodb

Download the content:

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

Run the server:

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

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

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

Releases

No releases published

Packages

No packages published