codex-mythica/bin/www
Eric Woodward f4df7112e3 UPDATED to run on port 8320 (on the server).
UPDATED to v0.1.0.
2018-01-07 21:18:30 -05:00

10 lines
274 B
JavaScript
Executable File

#!/usr/bin/nodejs
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);
});