Questions tagged [couchapp]

CouchApps are JavaScript and HTML5 applications served directly from CouchDB.

CouchApps are JavaScript and HTML5 applications served directly from CouchDB.

224 questions
4
votes
3 answers

Is there a documentation for jquery.couch.js?

Is there a documentation for jquery.couch.js, the standard JavaScript API that ships with CouchDB? In many blog posts and tutorial this API is used and to some degree explained how to use it. But is there some always up-to-date documentation?
Kuepper
  • 992
  • 13
  • 39
4
votes
1 answer

CouchDB: This database failed to load / No DB shards could be opened (logged in as admin)

I am trying to regain access to my databases stored in CouchDB, but the error This database failed to load. gets shown instead of the databases (see attachments). I started seeing all of these errors at once It be some user rights misconfiguration…
Peter G.
  • 7,816
  • 20
  • 80
  • 154
4
votes
0 answers

CouchDB 3rd Party Login / Signup (Facebook, Twitter, etc)

I am faced with an issue in how to implement 3rd Party Login with CouchDB. Currently as I know, CouchDB provides its own Member System, and has several Authentication Methods, Cookie, Oauth, Proxy etc. I figured that using http_auth_proxy plugin in…
sadiqevani
  • 500
  • 5
  • 14
4
votes
2 answers

Can node.js execute JavaScript functions pulled from CouchDB like CouchApp does? How?

The quick overview is this: for my web app I can write most of my functionality using CouchApp and CouchDB views, etc. I love the feature of CouchApp that pushes my code up to the server via replication- this makes the deployment cycle very easy.…
Jim
  • 57
  • 3
4
votes
1 answer

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 files except the files in…
jyo
  • 41
  • 3
4
votes
1 answer

How to organize tables in couchDB?

I have three tables(x,y,z) in one database "123" like RDBMS. I want to convert them into couchDB. I have created the.json for each and every tables. When i created the database,i could not create seperate tables. I had to create seperate db for each…
user4356661
4
votes
5 answers

what are the possibilities for CouchApp frameworks today?

I'm using CouchDB as event log and I want to build simple UI on top of it so I could query the event more easily. I can either use raw HTTP calls and build the views manually or I can use CouchApp framework. The problem is it looks like those…
Ido Ran
  • 10,584
  • 17
  • 80
  • 143
4
votes
1 answer

List all CouchApps in a CouchDB?

Is there a way to list all CouchApps in one CouchDB? I would like to do something like: couchapp list http://domain.tld:5984/content And get back a list of all couchapp names.
jacksoncage
  • 113
  • 3
  • 8
4
votes
2 answers

couchapp push gives [Errno 22] Invalid Argument

I've just installed couchapp from the instructions and have gone through the Getting Started tutorial. When I run couchapp push I get an error like this: 2012-06-23 14:05:08 [CRITICAL] unknown error [[Errno 22] Invalid argument] Traceback (most…
runlevelsix
  • 175
  • 8
3
votes
3 answers

Pulling a Replicated CouchApp

My colleague did couchapp push to my local couchdb and I can now access the index.html via localhost However, now I want to pull the couchapp down to my local file system so I can make edits and then re-push it back to both of our Couch instances.…
user1113883
3
votes
1 answer

CouchApp cannot retrieve key/value pairs from view but Futon can

I create a simple couchapp and deployed it into my CouchDB instance. However, i'm noticing an anomaly. The view created (via couchapp generate view ...) returns data when I view it in CouchDB's Futon administrative interface (logged in as admin),…
wsb3383
  • 3,841
  • 12
  • 44
  • 59
3
votes
1 answer

Couchdb, couch-connector and multiple databases

I'm wondering if anyone has tried the get couch-connector to work with multiple databases. I have couchapp which uses multiple databases and I'm having trouble with couch-connector to work with it. Couch-connector works great when I'm using one…
user1127302
3
votes
2 answers

Reusing passwords from ~/.couchapp.conf for different applications' .couchapprc

The manual at http://couchapp.org/page/couchapp-config says that you can store passwords in ~/.couchapp.conf. However, the db url is acutally the url to the specific database. If there are two applications in different databases, say /db1 and /db2,…
icyrock.com
  • 27,952
  • 4
  • 66
  • 85
3
votes
1 answer

rewrite rules that converts tokens to integer parameters

After much wrestling with the idea of ranking records, I finally settled on numeric based scores for my documents, which I emit to have them sorted based on these scores. Now these numbers have meaning, where the 1st 2 digits represent a specific…
Up.
  • 959
  • 11
  • 20
3
votes
2 answers

Where should you store templates in your couchapp?

In the couchDB guide, Managing Design Documents, they state that The _attachments directory contains files that are saved to the Sofa design document as binary attachments. CouchDB serves attachments directly (instead of including them in a JSON…
Danger Doug
  • 101
  • 2
  • 8
1 2
3
14 15