From d8191c8232bf64cd938cbda36079003a0af60c08 Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 26 May 2013 15:49:44 +0000 Subject: [PATCH] Update install.sh modules and update web docs [#464][#351] --- install.sh | 2 +- modules/web/README.md | 24 +++++++----------------- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/install.sh b/install.sh index d175afb..dd90ab1 100755 --- a/install.sh +++ b/install.sh @@ -14,7 +14,7 @@ then exit 1 fi -npm install underscore request sandbox express moment jade@0.25 +npm install node-uuid underscore request sandbox express moment jade databank databank-redis ent cd public/ wget http://twitter.github.com/bootstrap/assets/bootstrap.zip diff --git a/modules/web/README.md b/modules/web/README.md index c00af25..0f729c0 100644 --- a/modules/web/README.md +++ b/modules/web/README.md @@ -7,31 +7,21 @@ Web interface It's a web interface for DBot. What of it? ## Requirements -###Express and Jade@0.25 + +### Express and Jade ``` -npm install express -npm install jade@0.25 +npm install express jade ``` -###Express Patch -Express currently needs to be patched, edit ~/node_modules/express/lib/express.js as thus; -``` - 52 for (var key in connect.middleware) { -**53 if( !Object.prototype.hasOwnProperty(key) ) { - 54 Object.defineProperty( - 55 exports - 56 , key - 57 , Object.getOwnPropertyDescriptor(connect.middleware, key)); -**58 } - 59 } -``` -###Twitter Bootstrap + +### Twitter Bootstrap ``` cd depressionbot/public/ wget http://twitter.github.com/bootstrap/assets/bootstrap.zip unzip bootstrap.zip rm bootstrap.zip ``` -###d3.js + +### d3.js ``` cd depressionbot/public/ mkdir d3