From a7b99be87d3a02e908e5469567045c332444d7e1 Mon Sep 17 00:00:00 2001 From: spencermountain Date: Wed, 20 Sep 2017 10:05:58 -0400 Subject: [PATCH] readme for v2 --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 225baad..970069c 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,8 @@ wp2mongo({file:'./enwiki-latest-pages-articles.xml.bz2', db: 'enwiki'}, callback then check out the articles in mongo: ````bash -$ mongo //enter the mongo shell -use enwiki //grab the database +$ mongo #enter the mongo shell +use enwiki #grab the database db.wikipedia.find({title:"Toronto"})[0].categories #[ "Former colonial capitals in Canada", @@ -37,7 +37,7 @@ you can do this. # 2) get ready Install [nodejs](https://nodejs.org/en/), [mongodb](https://docs.mongodb.com/manual/installation/), and optionally [redis](http://redis.io/) -``` +```bash git clone git@github.com:spencermountain/wikipedia-to-mongodb.git cd wikipedia-to-mongodb npm install @@ -133,4 +133,5 @@ $ --> \u0024 . --> \u002e ``` +### PRs welcome! MIT