codex-mythica/bin/www
2018-01-07 19:12:11 -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 || 8302);
var server = app.listen(app.get('port'), function() {
console.log('Express server listening on port ' + server.address().port);
});