I am using your example, the local db is created succesfully and it also replicates the remote db to local db too but when i try to create design document to create views i get this error.
{status: 409, error: "conflict", reason: "conflict"}
Secondly how can i specify the revision number for the views ?