Ignore:
Timestamp:
03/15/14 01:00:23 (11 years ago)
Author:
hendrikvanantwerpen
Message:
  • Support different environments with QED_ENV. If dev, run against qed-dev database, if production, run against qed database. The UI indicates if we are running in anything but production mode.
  • Return undefined if we allow page leaves, because null is treated as a value.
  • Changed format of design docs, so it can work for different databases.
  • Use correct design documents in configCouch, so server now actually updates them when it starts.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/server/bin/config-db.js

    r487 r519  
    33  , designDocs = require('../config/couchdb-design-docs')
    44  ;
     5console.log("Running on",env.couchServerURL+env.dbName);
    56configCouch(env.couchServerURL,env.dbName,designDocs)
    67.then(function(res){
Note: See TracChangeset for help on using the changeset viewer.