Skip to content

Commit

Permalink
Fix: README and package.json, Changelog ref rgarcia#26 rgarcia#25 rga…
Browse files Browse the repository at this point in the history
  • Loading branch information
neiesc committed Dec 19, 2013
1 parent 14f7ac3 commit cb0981b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 22 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,25 @@
[![Build Status](https://travis-ci.org/neiesc/dochub.png?branch=master)](https://travis-ci.org/neiesc/dochub)
[![Dependency Status](https://gemnasium.com/neiesc/dochub.png)](https://gemnasium.com/neiesc/dochub)
<br />[DocHub](http://neiesc.github.io/dochub/) on GitHub Pages
[CHANGELOG](CHANGELOG.md)

## Running locally

* Download de [docfiles](https://github.com/neiesc/dochub/tree/gh-pages) `*.json` and paste in `static/data`

* Run the server:

npm install -g nodemon
npm install # downloads dependencies for web server
npm install --production # downloads dependencies for web server or npm install for all dependencies
npm start

* 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:

npm install --dev # downloads dependencies for scrapers
cd scraper
npm install # downloads dependencies for scrapers
node you-scrape.js

## Notes
Expand Down
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,23 @@
"version": "0.1.0",
"private": true,
"scripts": {
"start": "nodemon server.js",
"test": "mocha"
"start": "node server.js"
},
"repository": {
"type": "git",
"url": "https://github.com/neiesc/dochub.git"
},
"dependencies": {
"express": "~3.3.x",
"requirejs": "~2.1.x",
"requirejs": "~1.x.x",
"underscore": "~1.5.x"
},
"devDependencies": {
"mocha": "~1.12.x",
"mocha-lcov-reporter": "~0.0.x"
"mongoose": ">=2.3.9",
"request": ">=2.2.5",
"cheerio": ">=0.2.2",
"step": ">=0.0.5",
"commander": ">=0.4.1",
"spider": "https://github.com/rgarcia/spider/tarball/master"
}
}
14 changes: 0 additions & 14 deletions scraper/package.json

This file was deleted.

0 comments on commit cb0981b

Please sign in to comment.