Skip to content

Commit

Permalink
first commit. write the server a little
Browse files Browse the repository at this point in the history
  • Loading branch information
KOBA789 committed Apr 3, 2012
0 parents commit 41ef288
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
15 changes: 15 additions & 0 deletions server/app.js
@@ -0,0 +1,15 @@
var http = require('http'),
url = require('url'),
EventEmitter = require('events').EventEmitter;

var router = new (require('router-line').Router),
pty = require('pty.js'),
socketio = require('socket.io');

var app = http.createServer(function (req, res) {

});

var io = socketio.listen(app);

app.listen(8124);
22 changes: 22 additions & 0 deletions server/package.json
@@ -0,0 +1,22 @@
{
"author": "KOBA789 <kobahide789@gmail.com> (http://koba789.com/)",
"name": "liveterm-server",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "git://github.com/KOBA789/src.git"
},
"dependencies": {
"pty.js": "*",
"router-line": "*",
"socket.io": "*"
},
"devDependencies": {
"should": "*",
"mocha": "*"
},
"optionalDependencies": {},
"engines": {
"node": "*"
}
}

0 comments on commit 41ef288

Please sign in to comment.