Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's a recommended way to put CouchDB views under source control?

I'm writing a node CRUD app that requires a few CouchDB views (I'm using express and cradle).

I've got the node app itself controlled with git, but my DB views are currently uncontrolled.

What's the recommended way to put these under source control? I don't want to put the entire database (including data) under source control.

like image 545
MikeRand Avatar asked Sep 28 '11 15:09

MikeRand


1 Answers

Take a look at couchapp, http://couchapp.org/. You can use that to push your version-controlled design docs to a database.

like image 94
Matt Goodall Avatar answered Oct 20 '22 21:10

Matt Goodall