10 lines
267 B
JavaScript
Executable File
10 lines
267 B
JavaScript
Executable File
#!/usr/bin/nodejs
|
|
var debug = require('debug')('bouquins');
|
|
var app = require('../bouquins');
|
|
|
|
app.set('port', process.env.PORT || 3000);
|
|
|
|
var server = app.listen(app.get('port'), function() {
|
|
debug('Express server listening on port ' + server.address().port);
|
|
});
|