Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit cb0981b

Browse files
author
neiesc
committed
Fix: README and package.json, Changelog ref rgarcia#26 rgarcia#25 rgarcia#32 rgarcia#35
1 parent 14f7ac3 commit cb0981b

File tree

3 files changed

+13
-22
lines changed

3 files changed

+13
-22
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,25 @@
44
[![Build Status](https://travis-ci.org/neiesc/dochub.png?branch=master)](https://travis-ci.org/neiesc/dochub)
55
[![Dependency Status](https://gemnasium.com/neiesc/dochub.png)](https://gemnasium.com/neiesc/dochub)
66
<br />[DocHub](http://neiesc.github.io/dochub/) on GitHub Pages
7+
[CHANGELOG](CHANGELOG.md)
78

89
## Running locally
910

1011
* Download de [docfiles](https://github.com/neiesc/dochub/tree/gh-pages) `*.json` and paste in `static/data`
12+
1113
* Run the server:
1214

13-
npm install -g nodemon
14-
npm install # downloads dependencies for web server
15+
npm install --production # downloads dependencies for web server or npm install for all dependencies
1516
npm start
17+
1618
* Open `http://localhost:5000/` in your browser.
1719

1820
## Scraper
1921

2022
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:
2123

24+
npm install --dev # downloads dependencies for scrapers
2225
cd scraper
23-
npm install # downloads dependencies for scrapers
2426
node you-scrape.js
2527

2628
## Notes

package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,23 @@
66
"version": "0.1.0",
77
"private": true,
88
"scripts": {
9-
"start": "nodemon server.js",
10-
"test": "mocha"
9+
"start": "node server.js"
1110
},
1211
"repository": {
1312
"type": "git",
1413
"url": "https://github.com/neiesc/dochub.git"
1514
},
1615
"dependencies": {
1716
"express": "~3.3.x",
18-
"requirejs": "~2.1.x",
17+
"requirejs": "~1.x.x",
1918
"underscore": "~1.5.x"
2019
},
2120
"devDependencies": {
22-
"mocha": "~1.12.x",
23-
"mocha-lcov-reporter": "~0.0.x"
21+
"mongoose": ">=2.3.9",
22+
"request": ">=2.2.5",
23+
"cheerio": ">=0.2.2",
24+
"step": ">=0.0.5",
25+
"commander": ">=0.4.1",
26+
"spider": "https://github.com/rgarcia/spider/tarball/master"
2427
}
2528
}

scraper/package.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)