10 lines
272 B
JavaScript
Executable File
10 lines
272 B
JavaScript
Executable File
#!/usr/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);
|
|
});
|