Last change
on this file since 525 was
525,
checked in by hendrikvanantwerpen, 11 years ago
|
- Allow empty subcodes.
- Use HTTPResult exclusively on server (no more q).
- Set readonly & disabled on ourselves as well in _ComplexValueMixin
- Split server into several modules.
- Check codes on the variable level, not question level.
- We can add modules in design documents now.
|
File size:
404 bytes
|
Rev | Line | |
---|
[487] | 1 | var env = require('../env') |
---|
| 2 | , configCouch = require('../config/config-couchdb') |
---|
[519] | 3 | , designDocs = require('../config/couchdb-design-docs') |
---|
[487] | 4 | ; |
---|
[463] | 5 | |
---|
[523] | 6 | console.log("Using CouchDB on",env.couchServerURL+env.dbName); |
---|
[464] | 7 | |
---|
[525] | 8 | require('../app').app(env) |
---|
[519] | 9 | .then(function(app){ |
---|
[479] | 10 | app.listen(env.port, function() { |
---|
| 11 | console.log('Listening on port',env.port); |
---|
[464] | 12 | }); |
---|
[475] | 13 | }, function(error){ |
---|
| 14 | console.error(error); |
---|
[463] | 15 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.