Created
April 30, 2013 19:09
-
-
Save jaeh/5491119 to your computer and use it in GitHub Desktop.
this is just a gist, but it gives an idea
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'), | |
http = require('http'), | |
app = module.exports = express(), | |
server = http.createServer(app), | |
io = require('socket.io').listen(server); | |
server.listen(app.get('port'), function () { | |
console.log("m-cms express server listening on port %d in %s mode", app.get('port'), app.get('env')); | |
cb(null); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment