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
0
votes
0 answers

grunt-couch failing with error in task.js:205:15 & taskjs.:241:33

I'm not sure where this error is coming from - a misconfigured grunt.initConfig object, my files, or grunt itself. The error output is not clear about what might be wrong... The error output: Error: Task "couch-compile:app" failed. at…
runlevelsix
  • 175
  • 8
0
votes
1 answer

Couchapp - default template not found when running `couchapp generate ...` on Windows

After thorough browsing I decided to post here as I could not find a working prompt on the problem. I installed CouchDB and Couchapp (in version 1.0.0, freshest one on Github) on Win8 machine and when I try to run couchapp generate app contacts I…
emkorybski
  • 573
  • 1
  • 4
  • 9
0
votes
1 answer

CouchDB/Sofa: Cannot create new post (from default template) with save button

I am currently learning CouchDB and using the O'Reilly book as a guide to get started. I've been following it pretty thoroughly, however, upon working with Sofa, the book requires me to inspect what happens when we hit 'Save' on our edit template.…
Justin
  • 137
  • 1
  • 3
  • 10
0
votes
2 answers

Custom logging in couch.log from couchapp?

Is it possible to write in the couchdb server log (the one defined by default.ini or local.ini in [log]) from a couchapp? (But from somewhere else than a view) If that's not possible, maybe there's a workaround which would allow to log successful or…
jun
  • 759
  • 6
  • 16
0
votes
1 answer

Retrieving multiple attachments with multiple documents

I'm building an app right now using couchdb, spring, and angularjs. On my UI I'm creating a document with attachments inside it (image) and I'm submitting them to my server which validates and then submits to the database. When I want to retrieve…
MorningDew
  • 503
  • 3
  • 9
0
votes
2 answers
0
votes
0 answers

make session for chat on couchapp

Maybe what asking for is easy but I think on wrong why or not, I want make chat page my couchdb is like this: I had a document "sport" inside it there are many documents for many sport wear company each company had a document on "sport" like…
amrnavy
  • 35
  • 3
0
votes
2 answers

want to make my background image from attachments in CouchDB

i had on my _users document attachment image file i want my background image change with each user this code is not work with me background-image: url(http://localhost:5984/_users/org.couchdb.user:test1/spaces_man.png); and the console say …
amrnavy
  • 35
  • 3
0
votes
1 answer

Couchbase admin tool falling over with filtered document list

I'm using the couchbase admin tool and one of the most useful features for me is the ability to go into the documents of a particular bucket and then using the document filter dialog I type a document prefix that I've reserved for a particular…
ken
  • 8,763
  • 11
  • 72
  • 133
0
votes
2 answers

How can I replay a header which is sent in request to couch db?

How can I replay a header which is sent as request to couch db, catch is I want to do it for all documents of data base irrespective of show functions. So I would send a request to couch db for creating a document as curl -X POST -i -H…
Abbyss
  • 155
  • 1
  • 9
0
votes
2 answers

Is it possible to use the Stripe API with a CouchApp?

I am curious if it is possible to use the Stripe API within a CouchApp. Normally I would have server side code that has my Stripe API keys where I would do the transactions from. Since a CouchApp doesn't really have that server side layer I am at…
DigiLord
  • 1,014
  • 1
  • 10
  • 17
0
votes
1 answer

CouchApp paths are wrong after import

I'm using CouchApp to push an existing html&javascript application. The application uses jquery and twitter bootstrap and it works perfectly fine from a regular web server / when opened locally. (The application is basically a ready made app I…
Doron Goldberg
  • 643
  • 1
  • 9
  • 23
0
votes
1 answer

CouchDB: What is an alternatives to accessing a _design view or extracting the document Fields?

I'm trying to switch a SQL-based application to use Couchdb for storing and retieving it's documents, which are based on a _design document (E.g. _design/VIEW_ALL_DOC). The document structure is as below: { Map properties = new…
Origin
  • 47
  • 8
0
votes
1 answer

How do you configure CouchDB vhosts to point to rewrites in design doc

Ok so now I've added a rewrites.js file to my Couchapp root folder. In this js file I have... [ { "method": "GET", "from": "/home", "to": "app/index.html", } ] Now when I push the Couchapp, in CouchDB in my…
Locohost
  • 1,682
  • 5
  • 25
  • 38
0
votes
2 answers

Dynamic variables in map function couch db

I am now using couchdb as my database , how to use dynamic variables as parameters in map functions in couch db?
user1721049