Created
January 17, 2014 21:48
-
-
Save ssbb/8482363 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
'use strict'; | |
require('rootpath')(); | |
var config = require('config'); | |
var app = require('lib/app'); | |
var http = require('http'); | |
var server = http.Server(app); | |
require('realtime')(server); | |
module.exports = server.listen(config.get('http:port')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment