Skip to content

Instantly share code, notes, and snippets.

@nickfox
Created June 23, 2014 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickfox/a0c33a8c8bd864f959bf to your computer and use it in GitHub Desktop.
Save nickfox/a0c33a8c8bd864f959bf to your computer and use it in GitHub Desktop.
#!/usr/bin/env node
var debug = require('debug')('sunsetvote');
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);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment