codex-mythica/bin/www-prod

10 lines
305 B
Plaintext
Raw Normal View History

2018-01-08 03:18:15 +00:00
#!/home/sysop/.nvm/versions/node/v8.9.4/bin/node
var debug = require('debug')('my-application');
var app = require('../app');
app.set('port', process.env.PORT || 8320);
var server = app.listen(app.get('port'), function() {
console.log('Express server listening on port ' + server.address().port);
});