开发者

deploy application on couchdb

I would like to deploy my application on couchdb. Have few queries regarding the same.

1) Is couchapp the only way to install applications on couchdb?

2) Can we deploy only javascript/HTML in couchdb?

I found that all the fil开发者_运维技巧es except the files in web-inf from my application war can be pushed into couchdb. What will happen to the files in web-inf?

Thanks

Jo


1/ couchapp is just a tool that pushes a design document with views, show, list functions, and so on. The default generated couchapp contains evently code, as it is the most common way to write couchapps. Other tools exist:

  • Sammy on Couch App: http://github.com/quirkey/soca
  • Couchapp Package manager: http://github.com/caolan/cpm

2/ You can deploy any kind of attachment, and really anything that is usually in a design document. Check couchapp.org for more informations on couchapp.

3/ A WAR file is Java code, this won't get you anywhere with CouchDB.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜