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
|
Line | |
---|
1 | var env = require('../env') |
---|
2 | , configCouch = require('../config/config-couchdb') |
---|
3 | , designDocs = require('../config/couchdb-design-docs') |
---|
4 | ; |
---|
5 | |
---|
6 | console.log("Using CouchDB on",env.couchServerURL+env.dbName); |
---|
7 | |
---|
8 | require('../app').app(env) |
---|
9 | .then(function(app){ |
---|
10 | app.listen(env.port, function() { |
---|
11 | console.log('Listening on port',env.port); |
---|
12 | }); |
---|
13 | }, function(error){ |
---|
14 | console.error(error); |
---|
15 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.