OK, I’ve cloned the keynote demo application and have given a few attempts at getting it running. I didn’t see installation instructions, but I guessed around and searched the source and found that in engine/data.js
I needed to change the database to localhost for my setup (easy enough):
//var myCluster = new couchbase.Cluster('192.168.56.101:8091');
var myCluster = new couchbase.Cluster('localhost:8091');
After doing this I got an error about a key not existing on a read, I debugged a bit and the key’s name turned out to be “state” so I inserted a key with the name “state” in my default bucket with a dummy value.
After this the page would show up in the browser and tick between 0 and 1 seconds, and the console would print out the following repeatedly:
Caught exception: CouchbaseError: The key already exists in the server. If you have supplied a CAS then the key exists with a CAS value different than specified
So… I guess installation instructions would be handy.
I haven’t gotten a chance to check out expiry-callbacks yet.