This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
node-task/bin/www

10 lines
265 B
Plaintext
Raw Normal View History

2014-09-18 15:35:58 -04:00
#!/usr/bin/env node
var debug = require('debug')('node-task');
var app = require('../app');
app.set('port', process.env.PORT || 3000);
var server = app.listen(app.get('port'), function() {
debug('Express server listening on port ' + server.address().port);
});