Permalink
Browse files

Updated for recent changes in node-couchdb.

  • Loading branch information...
cskr committed Aug 24, 2010
1 parent 212162c commit ddec63a5269dad59940c0b50ff64437bd9b7c593
View
@@ -1,5 +1,3 @@
This example requires [node-couchdb](http://github.com/felixge/node-couchdb). Install it with these commands,
- git clone http://github.com/felixge/node-couchdb.git
- cd node-couchdb
- sudo npm install
+ sudo npm install couchdb
@@ -1,4 +1,4 @@
-var couchdb = require('node-couchdb'),
+var couchdb = require('couchdb'),
client = couchdb.createClient();
client.request('put', '/ghcrud');
@@ -1,4 +1,4 @@
-var couchdb = require('node-couchdb'),
+var couchdb = require('couchdb'),
Execution = require('../models').Execution,
util = require('./couchUtil');
@@ -1,4 +1,4 @@
-var couchdb = require('node-couchdb'),
+var couchdb = require('couchdb'),
Language = require('../models').Language,
util = require('./couchUtil');
@@ -1,4 +1,4 @@
-var couchdb = require('node-couchdb'),
+var couchdb = require('couchdb'),
Paradigm = require('../models').Paradigm,
util = require('./couchUtil');
@@ -1,5 +1,3 @@
This example requires [node-couchdb](http://github.com/felixge/node-couchdb). Install it with these commands,
- git clone http://github.com/felixge/node-couchdb.git
- cd node-couchdb
- sudo npm install
+ sudo npm install couchdb
@@ -1,4 +1,4 @@
-var couchdb = require('node-couchdb'),
+var couchdb = require('couchdb'),
Shout = require('./model').Shout;
exports.all = function(cb) {
@@ -1,4 +1,4 @@
-var couchdb = require('node-couchdb'),
+var couchdb = require('couchdb'),
client = couchdb.createClient();
client.request('put', '/shout');

0 comments on commit ddec63a

Please sign in to comment.