Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/nodejs
- var debug = require('debug')('my-application');
- 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);
- });
Advertisement
Add Comment
Please, Sign In to add comment