Reputation: 41
We are a group of developers where everybody has their own bucket - but the same views.
I'd like to have one file with views defined under source control.
This file shall then be somehow easily applicable to existing bucket so that views on this bucket would be updated.
How can I easily achieve that?
Upvotes: 2
Views: 209
Reputation: 41
resolved with help of
http://www.couchbase.com/forums/thread/couchbase-view#comment-1007530 http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views-designdoc-api.html
simply i keep my view definitions in files and through couchbase rest api i update the view in couchbase. so any time developer needs to update their bucket, they run simple tool which goes through folder with views and these are updated...
Upvotes: 1