Last change
on this file since 523 was
519,
checked in by hendrikvanantwerpen, 11 years ago
|
- 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 size:
286 bytes
|
Rev | Line | |
---|
[479] | 1 | var env = require('../env') |
---|
[487] | 2 | , checkCouch = require('../config/check-couchdb') |
---|
| 3 | ; |
---|
[519] | 4 | console.log("Running on",env.couchServerURL+env.dbName); |
---|
[487] | 5 | checkCouch(env.couchServerURL,env.dbName) |
---|
[479] | 6 | .then(function(res){ |
---|
| 7 | console.log("done",res); |
---|
| 8 | }, function(err){ |
---|
| 9 | console.error("fail",err); |
---|
| 10 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.