blob: 29710dbbf23fdf7a344bef201e6edf9254124109 [file] [log] [blame]
Timoney, Daniel (dt5972)324ee362017-02-15 10:37:53 -05001#!/usr/bin/env node
2var debug = require('debug')('admportal');
3var app = require('../server/app');
4var properties = require(process.env.SDNC_CONFIG_DIR + '/admportal.json');
5var out_file = "/opt/openecomp/sdnc/admportal/logs/http_admportal.log";
6var error_file = "/opt/openecomp/sdnc/admportal/logs/error_http_admportal.log";
7var cwd = "/opt/openecomp/sdnc/admportal";
8
9app.set('port', properties.nonSslPort || 8181 );
10
11var server = app.listen(app.get('port'), function() {
12 console.log('Express server listening on port ' + server.address().port);
13 debug('Express server listening on port ' + server.address().port);
14});