======================
DocHub on GitHub Pages
-
Download de docfiles
*.json
and paste instatic/data
-
Run the server:
npm install -g nodemon npm install # downloads dependencies for web server npm start
-
Open
http://localhost:5000/
in your browser.
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
node you-scrape.js
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
).
Licensed under the GNU Affero General Public License.