Last change
on this file since 523 was
523,
checked in by hendrikvanantwerpen, 11 years ago
|
- Added version for views.
- Don't automatically upgrade views when starting app, this needs to be
done manually.
|
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 | |
---|
[519] | 8 | require('../app').App(env) |
---|
| 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.