new approach

This commit is contained in:
Marc Wäckerlin
2018-10-30 12:51:23 +01:00
parent 875e596732
commit 7096587f3a
74 changed files with 139 additions and 35837 deletions

9
bin/www Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/nodejs
var debug = require('debug')('ServiceDock');
var app = require('../app');
app.set('port', process.env.PORT || 4000);
var server = app.listen(app.get('port'), function() {
debug('Express server listening on port ' + server.address().port);
});