Skip to content
/ puton Public

Puton is no longer maintained. Check out the PouchDB inspector for Chrome and PouchDB inspector for Firefox

Notifications You must be signed in to change notification settings

ymichael/puton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puton (Futon for PouchDB)

**Puton is no longer maintained. Check out the PouchDB inspector for Chrome and PouchDB inspector for Firefox

Puton is to PouchDB what Futon is to CouchDB.

The general idea is to provide a simple way to inspect a browser's PouchDB.

There are several constraints in this regards (same origin policy being one of them). Consequently, Puton is implemented as a javascript bookmarklet so that it can be injected into the relevant pages and access the pages' pouchdb documents.

Developing puton

To get started, run the following commands:

  • install grunt-cli
$ npm install -g grunt-cli
  • install npm dependencies
$ npm install
  • starts puton
node puton.js
  • starts puton in production mode
$ NODE_ENV=production node puton.js

Grunt tasks

  • lint
    • Lint the various files
  • build:all
    • concatenate lib files
    • uglify lib files
    • grunt build
  • build
    • concatenate script files
    • uglify script files
    • concat lib.min with script.min
  • minify
    • minify css files
  • updatelibs
    • Updates Backbone, Underscore, jQuery
    • build:lib
  • updatepouch
    • Update Pouch to latest version
  • test
    • Runs Jasmine tests
  • browser
  • release (default task)
    • lint
    • updatepouch
    • test
    • build
    • minify
  • run: Starts Puton

About

Puton is no longer maintained. Check out the PouchDB inspector for Chrome and PouchDB inspector for Firefox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages