summaryrefslogtreecommitdiffstats
path: root/VNF_Catalogue/bin/www
diff options
context:
space:
mode:
authorKumar Rishabh <shailrishabh@gmail.com>2017-06-29 11:54:06 +0530
committerDeepak S <deepak.s@linux.intel.com>2017-07-21 06:20:14 +0000
commit1f6b18a1974c1b53a079b21b6be39af86deb2432 (patch)
tree7a9eba2bf86ea1ee651836dbf58ac998d4a92933 /VNF_Catalogue/bin/www
parentb8351286a53658bee2471430aaafac4eb72bdfde (diff)
VNF_Catalogue Codebase
Catalogue of Open Source VNFs consist in helping the end users to get information of the VNF we can deploy on top of an OPNFV solution [Deepak]: Removed all swp files. Change-Id: Ib2ea7330e964f1b684f32aedf631accd580df968 Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com> Signed-off-by: Deepak S <deepak.s@linux.intel.com>
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);
+});