summaryrefslogtreecommitdiffstats
path: root/VNF_Catalogue/bin/www
diff options
context:
space:
mode:
Diffstat (limited to 'VNF_Catalogue/bin/www')
-rw-r--r--VNF_Catalogue/bin/www9
1 files changed, 9 insertions, 0 deletions
diff --git a/VNF_Catalogue/bin/www b/VNF_Catalogue/bin/www
new file mode 100644
index 00000000..3cfbf779
--- /dev/null
+++ b/VNF_Catalogue/bin/www
@@ -0,0 +1,9 @@
+#!/usr/bin/env node
+var debug = require('debug')('my-application');
+var app = require('../app');
+
+app.set('port', process.env.PORT || 3000);
+
+var server = app.listen(app.get('port'), function() {
+ debug('Express server listening on port ' + server.address().port);
+});