summaryrefslogtreecommitdiffstats
path: root/vnfcatalogue/VNF_Catalogue/bin/www
diff options
context:
space:
mode:
authorKumar Rishabh <shailrishabh@gmail.com>2017-02-10 10:31:59 +0530
committerKumar Rishabh <shailrishabh@gmail.com>2017-02-10 10:38:38 +0530
commite031a667f716121fbb8c64ee0fbf2f95a3f8b9d2 (patch)
treeede497a2907392874dc9fea2830a2155e8a5b479 /vnfcatalogue/VNF_Catalogue/bin/www
parent22f3aac2f946921a4560f2ce648485781c9dc93e (diff)
Added VNF_Catalogue Server
Change-Id: I45cedac46f06e6e1f080dd3bc38d6f79eec37fa6 Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
Diffstat (limited to 'vnfcatalogue/VNF_Catalogue/bin/www')
-rw-r--r--vnfcatalogue/VNF_Catalogue/bin/www9
1 files changed, 9 insertions, 0 deletions
diff --git a/vnfcatalogue/VNF_Catalogue/bin/www b/vnfcatalogue/VNF_Catalogue/bin/www
new file mode 100644
index 0000000..3cfbf77
--- /dev/null
+++ b/vnfcatalogue/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);
+});