Implementing Neo4j Driver for Meteor: Part 1
1st, I started with this:
http://stackoverflow.com/questions/10114526/how-to-build-a-meteor-package
Which was quite helpful. This led me to clone down the meteor repo. It seems that “mongo-livedata” is the package to start with, so I copied that folder and named it neo4j-livedata.
repo wide find/replace install neo4j npm replace require to neo4j delete all html files (hope thats ok =/)
watch what fails.
app/packages/neo4j-livedata/mongo_driver.js:77
Neo4j.connect(url, {db: {safe: true}}, function(err, db) {
^
TypeError: Object #<Object> has no method 'connect'
at new _Mongo (app/packages/neo4j-livedata/mongo_driver.js:77:9)
at new Meteor._RemoteCollectionDriver (app/packages/neo4j-livedata/remote_collection_driver.js:4:16)
at app/packages/neo4j-livedata/remote_collection_driver.js:22:34
at /Users/quinn/Current/GlobalChecklist/.meteor/local/build/server/server.js:234:21
at Array.forEach (native)
at Function._.each._.forEach (/Users/quinn/Current/meteor/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at run (/Users/quinn/Current/GlobalChecklist/.meteor/local/build/server/server.js:220:7)
Exited with code: 1
add a bunch of sys.puts.
Make sure you run meteor from your checkout.

Comments
Add a comment: