Invalid image

CouchN.CouchApp



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:



TheCouch.SetupDatabaseAndDesignDocuments("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.

Info

Version: 0.0.0.2
Author(s): Mark Kemper
Last Update: Monday, October 1, 2012
.NET Fiddle:
Project Url: http://github.com/markkemper1/CouchN
NuGet Url: https://www.nuget.org/packages/CouchN.CouchApp


Install
Install-Package CouchN.CouchApp
dotnet add package Z.EntityFramework.Plus.EF6
paket add CouchN.CouchApp
CouchN.CouchApp Download (Unzip the "nupkg" after downloading)








STATS

must-have-score


avg-downloads-per-day

0


days-since-last-release

1903