Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.36 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.36 KB

README

JitterBug is a CouchApp for CouchDB displaying errors/exceptions thrown and catched by script errorhandlers. It is primarily built for PHP applications, and only a PHP errorhandler example is included. But it should fit for other languages as well. Consult the PHP example for how to format the document that should be posted to CouchDB.

It summarizes errors so if you have the same error triggered many times, it will not spam the UI. Also there is some basic stats on errors. Very basic for now.

This is a very very first edition, and the UI still needs some tweaking, code refactoring etc. there is a lot copy paste of similar html/javascript. But, it works!

Install

  • You need CouchApp installed, find it on Github!
  • CouchDB 1.0 required, maybe it works on 0.11.2, not sure

Download source and go into dir, and assuming CouchDB is running on localhost:5984 run

couchapp push app database

where database is your database name. Consult CouchApp documentation if server is running elsewhere.

Also you need to set up vhost for your couchdb, or else the script/style paths won't be correct. In your CouchDB configuration "local.ini" put something similar to

[vhosts]
localhost:5984 = /database/_design/jitterbug/_rewrite

reload couchdb and goto http://localhost:5984

that should be it, now it is up to you getting some errors/exceptions inserted to CouchDB