From bc5c698144f72e2258d2e130869685b49ab053c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2EFernando=20S=C3=A1nchez?= Date: Sat, 17 Mar 2012 16:17:30 +0100 Subject: [PATCH] Socket.io dependencies --- .gitignore | 1 + Procfile | 1 + package.json | 3 +-- web/app.js | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 Procfile diff --git a/.gitignore b/.gitignore index 3c3629e..eb03e3e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ node_modules +*.log diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..6486265 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: node web/app.js diff --git a/package.json b/package.json index b9916b6..19b0550 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,10 @@ "dependencies":{ "socket.io":"*", "hook.io":"*", - "Hook.io-mailer":"git+https://github.com/balkian/Hookio-Mailer.git" + "Hook.io-mailer":"git+https://github.com/balkian/Hookio-Mailer.git", "express": "2.5.5", "jade": "0.16.4", "stylus": "0.19.0", "nib": "0.2.0" - } } diff --git a/web/app.js b/web/app.js index 55024d3..2a53e59 100644 --- a/web/app.js +++ b/web/app.js @@ -5,7 +5,7 @@ var express = require('express') , stylus = require('stylus') , nib = require('nib') - , sio = require('../../lib/socket.io'); + , sio = require('socket.io'); /** * App.