A library for creating a couch app design document. (to be used with CouchN but you could hook it up standalone) The code uses node.js to run any "*_design.js" documents in the project and convert them to "*_design.json" (where * is the name of your design doc) Once the json document has been created you should make it an embedded resource for the project. Then you can have your main project update design documents in couch with a one liner. ** NOTE ** you need to include the CreateDesignDoc.targets into your projects *.proj file. Just open it in nodepad and enter this line near the botton: <Import Project="CreateDesignDocs.targets" /> TheCouch.SetupDatabaseAndDesignDocuments<DesignDocuments>("MyDb", "http://thecouchdb:5987"); This will create a new database "MyDb" if it doesn't exist and then upload the design documents embbed in the assembly which contans the "DesignDocuments" type.
License
—
Deps
0
Install Size
—
Vulns
✓ 0
Published
Oct 1, 2012
$ dotnet add package CouchN.CouchAppNo README available.