source: Dev/trunk/src/server/bin/check-db.js @ 479

Last change on this file since 479 was 479, checked in by hendrikvanantwerpen, 11 years ago

Changes for validation

  • Split command line wrappers from processing logic.
  • Created a JSON Schema for the database
  • Allow off-line validation of database documents.
File size: 211 bytes
Line 
1var env = require('../env')
2  , checkCouch = require('../config/check-couchdb');
3checkCouch(env.couchDbURL)
4.then(function(res){
5    console.log("done",res);
6}, function(err){
7    console.error("fail",err);
8});
Note: See TracBrowser for help on using the repository browser.